MCPcopy Create free account

hub / github.com/corestoreio/pkg / functions

Functions7,620 in github.com/corestoreio/pkg

MethodDo
(_ context.Context, action string, table *ddl.Table, rows [][]any)
sql/mycanal/canal_main.go:45
MethodDriver
()
sql/dml/connection.go:406
MethodDriverValue
DriverValue adds multiple of the same underlying values to the argument slice. When using different values, the last applied value wins and gets added
sql/dml/condition.go:836
MethodDriverValues
DriverValues adds each driver.Value as its own argument to the argument slice. It panics if the underlying type is not one of the allowed of interface
sql/dml/condition.go:847
MethodDump
(w io.Writer)
sql/myreplicator/event.go:34
MethodDump
(w io.Writer)
sql/myreplicator/event.go:101
MethodDump
(w io.Writer)
sql/myreplicator/event.go:194
MethodDump
(w io.Writer)
sql/myreplicator/event.go:215
MethodDump
(w io.Writer)
sql/myreplicator/event.go:233
MethodDump
(w io.Writer)
sql/myreplicator/event.go:284
MethodDump
(w io.Writer)
sql/myreplicator/event.go:324
MethodDump
(w io.Writer)
sql/myreplicator/event.go:349
MethodDump
(w io.Writer)
sql/myreplicator/event.go:399
MethodDump
(w io.Writer)
sql/myreplicator/event.go:424
MethodDump
(w io.Writer)
sql/myreplicator/event.go:438
MethodDump
(w io.Writer)
sql/myreplicator/event.go:456
MethodDump
(w io.Writer)
sql/myreplicator/event.go:485
MethodDump
(w io.Writer)
sql/myreplicator/row_event.go:185
MethodDump
(w io.Writer)
sql/myreplicator/row_event.go:868
MethodDump
(w io.Writer)
sql/myreplicator/row_event.go:897
MethodDump
(w io.Writer)
sql/myreplicator/generic_event.go:14
MethodDumpEvents
DumpEvents dumps all left events
sql/myreplicator/binlogstreamer.go:59
MethodEach
Each will run function f on all items in []* CatalogProductIndexEAVDecimalIDX . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1294
MethodEach
Each will run function f on all items in []* CoreConfiguration . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1826
MethodEach
Each will run function f on all items in []* CustomerAddressEntity . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:2353
MethodEach
Each will run function f on all items in []* DmlgenTypes . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:3538
MethodEach
Each will run function f on all items in []* ViewCustomerAutoIncrement . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4456
MethodEach
Each will run function f on all items in []* ViewCustomerNoAutoIncrement . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4699
MethodEach
Each will run function f on all items in []* SalesOrderStatusState . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:728
MethodEach
Each will run function f on all items in []* ViewCustomerAutoIncrement . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:894
MethodEach
Each will run function f on all items in []* CoreConfiguration . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated2/no_db_gen.go:147
MethodEach
Each will run function f on all items in []* SalesOrderStatusState . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated2/no_db_gen.go:332
MethodEach
Each will run function f on all items in []* CustomerAddressEntity . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:684
MethodEach
Each will run function f on all items in []* CustomerEntityInt . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1584
MethodEach
Each will run function f on all items in []* CustomerEntityVarchar . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:2060
MethodEach
Each will run function f on all items in []* Store . Auto generated via dmlgen.
store/entities_gen.go:114
MethodEach
Each will run function f on all items in []* StoreGroup . Auto generated via dmlgen.
store/entities_gen.go:319
MethodEach
Each will run function f on all items in []* StoreWebsite . Auto generated via dmlgen.
store/entities_gen.go:526
MethodEach
Each will run function f on all items in Slice. Generated via tableToStruct.
_codegen/tableToStruct/_goast_generic/iter.go:87
MethodEach
(f func(int, *TableWebsite))
_codegen/tableToStruct/_goast_generic_impl/zgen_tablewebsiteslice_iter.go:59
MethodEach
(f func(int, *TableStore))
_codegen/tableToStruct/_goast_generic_impl/zgen_tablestoreslice_iter.go:59
MethodEach
(f func(int, *TableGroup))
_codegen/tableToStruct/_goast_generic_impl/zgen_tablegroupslice_iter.go:59
FunctionElementsMatch
ElementsMatch asserts that the specified listA(array, slice...) is equal to specified listB(array, slice...) ignoring the order of the elements. If th
util/assert/assertions.go:904
FunctionEmpty
Empty asserts that the specified object is empty. I.e. nil, "", false, 0 or either a slice or a channel with len == 0. assert.Empty(t, obj)
util/assert/assertions.go:597
MethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:1026
MethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:1572
MethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:2089
MethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:2679
MethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:3881
MethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:4297
MethodEmpty
The table/view ViewCustomerNoAutoIncrement does not have a primary key. SKipping to generate DML functions based on the PK. Empty empties all the fiel
sql/dmlgen/dmltestgenerated/output_gen.go:4565
MethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated2/no_db_gen.go:234
MethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1807
MethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
store/entities_gen.go:240
MethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
store/entities_gen.go:447
FunctionEncloseBT
EncloseBT encloses the string s in backticks
util/codegen/common.go:162
MethodEncrypt
(s []byte)
net/signed/backendsigned/backend_test.go:32
MethodEncrypt
(s []byte)
net/jwt/backendjwt/backend_test.go:32
MethodEntityType
EntityType returns EntityType object or an error
eav/attribute.go:40
MethodEntityTypeID
()
eav/attribute.go:54
MethodEntityTypeID
()
eav/attribute.go:254
FunctionEqualError
EqualError asserts that a function returned an error (i.e. not `nil`) and that it is equal to the provided error. actualObj, err := SomeFunction() as
util/assert/assertions.go:1303
FunctionEqualValues
EqualValues asserts that two objects are equal or convertable to the same types and equal. assert.EqualValues(t, uint32(123), int32(123))
util/assert/assertions.go:415
FunctionErrorIsKind
ErrorIsKind asserts that an error matches the expected Kind. deprecated no replacement
util/assert/assertions.go:1285
MethodErrorKind
()
net/csgrpc/auth/service.go:298
MethodErrorKind
()
util/codegen/common.go:33
FunctionErrorWithPanic
ErrorWithPanic implements the ErrorHandler type and panics always. Interesting for testing. This function may leak sensitive information.
net/mw/errors.go:62
FunctionErrorWithStatusCode
ErrorWithStatusCode wraps an HTTP Status Code into an ErrorHandler. The status text message gets printed first followed by the verbose error string. T
net/mw/errors.go:32
MethodErrorf
(format string, args ...any)
sql/dmltest/connect_test.go:52
MethodErrorf
(format string, args ...interface{})
util/cstesting/assert_test.go:29
MethodEscapeBinary
(w *bytes.Buffer, b []byte)
sql/dml/dialect.go:65
MethodEscapeBinary
(w *bytes.Buffer, b []byte)
storage/null/doc.go:46
MethodEscapeBool
(w *bytes.Buffer, b bool)
sql/dml/dialect.go:57
MethodEscapeIdent
(w *bytes.Buffer, ident string)
sql/dml/dialect.go:51
MethodEscapeIdent
(w *bytes.Buffer, ident string)
storage/null/doc.go:42
MethodEscapeString
EscapeString. Need to turn \x00, \n, \r, \, ', " and \x1a. Returns an escaped, quoted string. eg, "hello 'world'" -> "'hello \'world\''".
sql/dml/dialect.go:77
MethodEscapeTime
(w *bytes.Buffer, t time.Time)
sql/dml/dialect.go:103
FunctionEventually
Eventually asserts that given condition will be met in waitFor time, periodically checking target function each tick. assert.Eventually(t, func() boo
util/assert/assertions.go:1558
FunctionExactly
Exactly asserts that two objects are equal in value and type. assert.Exactly(t, int32(123), int64(123))
util/assert/assertions.go:432
FunctionExactlyLength
ExactlyLength asserts that two objects with maximum length of their string fields are equal in value and type. assert.ExactlyLength(t,2, "aa", "aaa")
util/assert/assertions.go:454
FunctionExampleAppRunMode
()
net/runmode/example_AppRunMode_test.go:17
FunctionExampleColumn
ExampleColumn is a duplicate of ExampleCondition
sql/dml/example_test.go:532
FunctionExampleColumnMapper
ExampleColumnMapper implementation POC for interface ColumnMapper. Retrieving and loading/scanning rows from a database mock.
sql/dml/example_columnMapper_test.go:155
FunctionExampleColumnMapper_insertCollectionWithoutColumns
()
sql/dml/example_columnMapper_queries_test.go:149
FunctionExampleColumnMapper_insertEntitiesWithColumns
ExampleColumnMapper_insertEntities inserts multiple entities into a table. Collection not yet supported.
sql/dml/example_columnMapper_queries_test.go:104
FunctionExampleColumnMapper_insertEntitiesWithoutColumns
ExampleColumnMapper_insertEntitiesWithoutColumns inserts multiple entities into a table. It includes all fields in the sruct. In this case 5 fields in
sql/dml/example_columnMapper_queries_test.go:130
FunctionExampleColumnMapper_selectJoinCollection
ExampleColumnMapper_selectJoinCollection uses a qualified customer collection. The qualifier maps to the alias name of the customer_entity table.
sql/dml/example_columnMapper_queries_test.go:57
FunctionExampleColumnMapper_selectSalesOrdersFromSpecificCustomers
ExampleColumnMapper_selectSalesOrdersFromSpecificCustomers this query should return all sales orders from different customers which are loaded within
sql/dml/example_columnMapper_queries_test.go:169
FunctionExampleColumnMapper_selectWhereInCollection
ExampleColumnMapper_selectWhereInCollection uses a customer collection to retrieve all entity_ids to be used in an IN condition. The customer collecti
sql/dml/example_columnMapper_queries_test.go:34
FunctionExampleColumnMapper_updateEntity
ExampleColumnMapper_updateEntity updates an entity with the defined fields.
sql/dml/example_columnMapper_queries_test.go:85
FunctionExampleCondition
ExampleCondition is duplicate of ExampleColumn
sql/dml/example_test.go:484
FunctionExampleCondition_Sub
()
sql/dml/example_test.go:579
FunctionExampleDelete
()
sql/dml/example_test.go:319
FunctionExampleDelete_FromTables
()
sql/dml/example_test.go:332
FunctionExampleExpandPlaceHolders
()
sql/dml/example_test.go:449
FunctionExampleInsert_AddOnDuplicateKey
ExampleInsert_AddOnDuplicateKey this example assumes you are not using a any place holders. Be aware of SQL injections.
sql/dml/example_test.go:175
FunctionExampleInsert_BuildValues
ExampleInsert_BuildValues does not call WithDBR but call to BuildValues must be made to enable building the VALUES part.
sql/dml/example_test.go:277
FunctionExampleInsert_FromSelect_withPlaceHolders
()
sql/dml/example_test.go:196
FunctionExampleInsert_FromSelect_withoutPlaceHolders
()
sql/dml/example_test.go:225
FunctionExampleInsert_SetRowCount
()
sql/dml/example_test.go:111
← previousnext →3,801–3,900 of 7,620, ranked by callers