Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/corestoreio/pkg
/ functions
Functions
7,620 in github.com/corestoreio/pkg
⨍
Functions
7,620
◇
Types & classes
965
Method
Do
(_ context.Context, action string, table *ddl.Table, rows [][]any)
sql/mycanal/canal_main.go:45
Method
Driver
()
sql/dml/connection.go:406
Method
DriverValue
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
Method
DriverValues
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
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:34
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:101
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:194
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:215
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:233
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:284
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:324
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:349
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:399
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:424
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:438
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:456
Method
Dump
(w io.Writer)
sql/myreplicator/event.go:485
Method
Dump
(w io.Writer)
sql/myreplicator/row_event.go:185
Method
Dump
(w io.Writer)
sql/myreplicator/row_event.go:868
Method
Dump
(w io.Writer)
sql/myreplicator/row_event.go:897
Method
Dump
(w io.Writer)
sql/myreplicator/generic_event.go:14
Method
DumpEvents
DumpEvents dumps all left events
sql/myreplicator/binlogstreamer.go:59
Method
Each
Each will run function f on all items in []* CatalogProductIndexEAVDecimalIDX . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1294
Method
Each
Each will run function f on all items in []* CoreConfiguration . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1826
Method
Each
Each will run function f on all items in []* CustomerAddressEntity . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:2353
Method
Each
Each will run function f on all items in []* DmlgenTypes . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:3538
Method
Each
Each will run function f on all items in []* ViewCustomerAutoIncrement . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4456
Method
Each
Each will run function f on all items in []* ViewCustomerNoAutoIncrement . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4699
Method
Each
Each will run function f on all items in []* SalesOrderStatusState . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:728
Method
Each
Each will run function f on all items in []* ViewCustomerAutoIncrement . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:894
Method
Each
Each will run function f on all items in []* CoreConfiguration . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated2/no_db_gen.go:147
Method
Each
Each will run function f on all items in []* SalesOrderStatusState . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated2/no_db_gen.go:332
Method
Each
Each will run function f on all items in []* CustomerAddressEntity . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:684
Method
Each
Each will run function f on all items in []* CustomerEntityInt . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1584
Method
Each
Each will run function f on all items in []* CustomerEntityVarchar . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:2060
Method
Each
Each will run function f on all items in []* Store . Auto generated via dmlgen.
store/entities_gen.go:114
Method
Each
Each will run function f on all items in []* StoreGroup . Auto generated via dmlgen.
store/entities_gen.go:319
Method
Each
Each will run function f on all items in []* StoreWebsite . Auto generated via dmlgen.
store/entities_gen.go:526
Method
Each
Each will run function f on all items in Slice. Generated via tableToStruct.
_codegen/tableToStruct/_goast_generic/iter.go:87
Method
Each
(f func(int, *TableWebsite))
_codegen/tableToStruct/_goast_generic_impl/zgen_tablewebsiteslice_iter.go:59
Method
Each
(f func(int, *TableStore))
_codegen/tableToStruct/_goast_generic_impl/zgen_tablestoreslice_iter.go:59
Method
Each
(f func(int, *TableGroup))
_codegen/tableToStruct/_goast_generic_impl/zgen_tablegroupslice_iter.go:59
Function
ElementsMatch
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
Function
Empty
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
Method
Empty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:1026
Method
Empty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:1572
Method
Empty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:2089
Method
Empty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:2679
Method
Empty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:3881
Method
Empty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:4297
Method
Empty
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
Method
Empty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated2/no_db_gen.go:234
Method
Empty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1807
Method
Empty
Empty empties all the fields of the current object. Also known as Reset.
store/entities_gen.go:240
Method
Empty
Empty empties all the fields of the current object. Also known as Reset.
store/entities_gen.go:447
Function
EncloseBT
EncloseBT encloses the string s in backticks
util/codegen/common.go:162
Method
Encrypt
(s []byte)
net/signed/backendsigned/backend_test.go:32
Method
Encrypt
(s []byte)
net/jwt/backendjwt/backend_test.go:32
Method
EntityType
EntityType returns EntityType object or an error
eav/attribute.go:40
Method
EntityTypeID
()
eav/attribute.go:54
Method
EntityTypeID
()
eav/attribute.go:254
Function
EqualError
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
Function
EqualValues
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
Function
ErrorIsKind
ErrorIsKind asserts that an error matches the expected Kind. deprecated no replacement
util/assert/assertions.go:1285
Method
ErrorKind
()
net/csgrpc/auth/service.go:298
Method
ErrorKind
()
util/codegen/common.go:33
Function
ErrorWithPanic
ErrorWithPanic implements the ErrorHandler type and panics always. Interesting for testing. This function may leak sensitive information.
net/mw/errors.go:62
Function
ErrorWithStatusCode
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
Method
Errorf
(format string, args ...any)
sql/dmltest/connect_test.go:52
Method
Errorf
(format string, args ...interface{})
util/cstesting/assert_test.go:29
Method
EscapeBinary
(w *bytes.Buffer, b []byte)
sql/dml/dialect.go:65
Method
EscapeBinary
(w *bytes.Buffer, b []byte)
storage/null/doc.go:46
Method
EscapeBool
(w *bytes.Buffer, b bool)
sql/dml/dialect.go:57
Method
EscapeIdent
(w *bytes.Buffer, ident string)
sql/dml/dialect.go:51
Method
EscapeIdent
(w *bytes.Buffer, ident string)
storage/null/doc.go:42
Method
EscapeString
EscapeString. Need to turn \x00, \n, \r, \, ', " and \x1a. Returns an escaped, quoted string. eg, "hello 'world'" -> "'hello \'world\''".
sql/dml/dialect.go:77
Method
EscapeTime
(w *bytes.Buffer, t time.Time)
sql/dml/dialect.go:103
Function
Eventually
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
Function
Exactly
Exactly asserts that two objects are equal in value and type. assert.Exactly(t, int32(123), int64(123))
util/assert/assertions.go:432
Function
ExactlyLength
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
Function
ExampleAppRunMode
()
net/runmode/example_AppRunMode_test.go:17
Function
ExampleColumn
ExampleColumn is a duplicate of ExampleCondition
sql/dml/example_test.go:532
Function
ExampleColumnMapper
ExampleColumnMapper implementation POC for interface ColumnMapper. Retrieving and loading/scanning rows from a database mock.
sql/dml/example_columnMapper_test.go:155
Function
ExampleColumnMapper_insertCollectionWithoutColumns
()
sql/dml/example_columnMapper_queries_test.go:149
Function
ExampleColumnMapper_insertEntitiesWithColumns
ExampleColumnMapper_insertEntities inserts multiple entities into a table. Collection not yet supported.
sql/dml/example_columnMapper_queries_test.go:104
Function
ExampleColumnMapper_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
Function
ExampleColumnMapper_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
Function
ExampleColumnMapper_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
Function
ExampleColumnMapper_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
Function
ExampleColumnMapper_updateEntity
ExampleColumnMapper_updateEntity updates an entity with the defined fields.
sql/dml/example_columnMapper_queries_test.go:85
Function
ExampleCondition
ExampleCondition is duplicate of ExampleColumn
sql/dml/example_test.go:484
Function
ExampleCondition_Sub
()
sql/dml/example_test.go:579
Function
ExampleDelete
()
sql/dml/example_test.go:319
Function
ExampleDelete_FromTables
()
sql/dml/example_test.go:332
Function
ExampleExpandPlaceHolders
()
sql/dml/example_test.go:449
Function
ExampleInsert_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
Function
ExampleInsert_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
Function
ExampleInsert_FromSelect_withPlaceHolders
()
sql/dml/example_test.go:196
Function
ExampleInsert_FromSelect_withoutPlaceHolders
()
sql/dml/example_test.go:225
Function
ExampleInsert_SetRowCount
()
sql/dml/example_test.go:111
← previous
next →
3,801–3,900 of 7,620, ranked by callers