MCPcopy Create free account

hub / github.com/corestoreio/pkg / functions

Functions7,620 in github.com/corestoreio/pkg

↓ 23 callersMethodTransaction
Transaction is a helper method that will automatically BEGIN a transaction and COMMIT or ROLLBACK once the supplied functions are done executing. if
sql/dml/connection.go:987
↓ 23 callersMethodWriteHeader
(code int)
net/responseproxy/tee_writer.go:58
↓ 23 callersFunctiongetBaseCorsService
(opts ...cors.Option)
net/cors/service_test.go:207
↓ 22 callersMethodAuthFuncOverride
(ctx context.Context, fullMethodName string)
net/csgrpc/auth/auth.go:36
↓ 22 callersMethodCachedQueries
()
sql/dml/connection.go:809
↓ 22 callersMethodInt32
Int32 reads a int32 value and appends it to the arguments slice or assigns the int32 value stored in sql.RawBytes to the pointer. See the documentatio
sql/dml/mapper.go:471
↓ 22 callersFunctionMakeInt64
MakeInt64 creates a new Int64. Setting the second optional argument to false, the string will not be valid anymore, hence NULL. Int64 implements inter
storage/null/int64.go:42
↓ 22 callersFunctionexpandInterfaces
expandInterfaces creates an interface slice with flatten values. E.g. a string slice gets expanded into its strings. Each type is one of the allowed t
sql/dml/argument.go:440
↓ 22 callersMethodinit
()
config/value.go:80
↓ 21 callersMethodEncode
(src any)
storage/objcache/service.go:60
↓ 21 callersMethodExpandPlaceHolders
ExpandPlaceHolders repeats the place holders with the provided argument count. If the amount of arguments does not match the number of place holders,
sql/dml/dbr.go:412
↓ 21 callersMethodGreaterOrEqual
()
sql/dml/condition.go:451
↓ 21 callersFunctionMakeInt16
MakeInt16 creates a new Int16. Setting the second optional argument to false, the string will not be valid anymore, hence NULL. Int16 implements inter
storage/null/int16.go:43
↓ 21 callersFunctionMakeInt32
MakeInt32 creates a new Int32. Setting the second optional argument to false, the string will not be valid anymore, hence NULL. Int32 implements inter
storage/null/int32.go:42
↓ 21 callersFunctionMakeInt8
MakeInt8 creates a new Int8. Setting the second optional argument to false, the string will not be valid anymore, hence NULL. Int8 implements interfac
storage/null/int8.go:43
↓ 20 callersMethodAssignLastInsertID
(int64)
sql/dml/insert.go:52
↓ 20 callersFunctionIsNull
IsNull check if the string is null.
util/validation/validator.go:433
↓ 20 callersMethodSignedString
SignedString gets the complete, signed token. Sets the header alg to the provided Signer.Alg() value. Returns a byte slice, save for further processin
util/csjwt/token.go:75
↓ 20 callersMethodToString
ToString converts to string slice.
util/slices/string.go:30
↓ 20 callersMethodeventCatalogProductIndexEAVDecimalIDXFunc
(ctx context.Context, ef dml.EventFlag, skipEvents bool, ec *CatalogProductIndexEAVDecimalIDXes, e *CatalogPro
sql/dmlgen/dmltestgenerated/output_gen.go:651
↓ 20 callersMethodeventCoreConfigurationFunc
(ctx context.Context, ef dml.EventFlag, skipEvents bool, ec *CoreConfigurations, e *CoreConfiguration)
sql/dmlgen/dmltestgenerated/output_gen.go:663
↓ 20 callersMethodeventCoreConfigurationFunc
(ctx context.Context, ef dml.EventFlag, skipEvents bool, ec *CoreConfigurations, e *CoreConfiguration)
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:153
↓ 20 callersMethodeventCustomerAddressEntityFunc
(ctx context.Context, ef dml.EventFlag, skipEvents bool, ec *CustomerAddressEntities, e *CustomerAddressEntity
sql/dmlgen/dmltestgenerated/output_gen.go:675
↓ 20 callersMethodeventCustomerAddressEntityFunc
(ctx context.Context, ef dml.EventFlag, skipEvents bool, ec *CustomerAddressEntities, e *CustomerAddressEntity
sql/dmlgen/dmltestgenerated5/tables_gen.go:226
↓ 20 callersMethodeventCustomerEntityFunc
(ctx context.Context, ef dml.EventFlag, skipEvents bool, ec *CustomerEntities, e *CustomerEntity)
sql/dmlgen/dmltestgenerated/output_gen.go:687
↓ 20 callersMethodeventCustomerEntityFunc
(ctx context.Context, ef dml.EventFlag, skipEvents bool, ec *CustomerEntities, e *CustomerEntity)
sql/dmlgen/dmltestgenerated5/tables_gen.go:238
↓ 20 callersMethodeventCustomerEntityIntFunc
(ctx context.Context, ef dml.EventFlag, skipEvents bool, ec *CustomerEntityInts, e *CustomerEntityInt)
sql/dmlgen/dmltestgenerated5/tables_gen.go:250
↓ 20 callersMethodeventCustomerEntityVarcharFunc
(ctx context.Context, ef dml.EventFlag, skipEvents bool, ec *CustomerEntityVarchars, e *CustomerEntityVarchar)
sql/dmlgen/dmltestgenerated5/tables_gen.go:262
↓ 20 callersMethodeventDmlgenTypesFunc
(ctx context.Context, ef dml.EventFlag, skipEvents bool, ec *DmlgenTypesCollection, e *DmlgenTypes)
sql/dmlgen/dmltestgenerated/output_gen.go:699
↓ 20 callersMethodeventSalesOrderStatusStateFunc
(ctx context.Context, ef dml.EventFlag, skipEvents bool, ec *SalesOrderStatusStates, e *SalesOrderStatusState)
sql/dmlgen/dmltestgenerated/output_gen.go:711
↓ 20 callersMethodgrowOrNewContainer
(sliceCount int)
sql/dml/argument_encoder.go:75
↓ 19 callersMethodHaving
Having appends a HAVING clause to the statement
sql/dml/select.go:257
↓ 19 callersFunctionMakeString
MakeString creates a new String. Setting the second optional argument to false, the string will not be valid anymore, hence NULL. String implements in
storage/null/string.go:45
↓ 19 callersFunctionMakeUint16
MakeUint16 creates a new Uint16. Setting the second optional argument to false, the string will not be valid anymore, hence NULL. Uint16 implements in
storage/null/uint16.go:43
↓ 19 callersFunctionMakeUint32
MakeUint32 creates a new Uint32. Setting the second optional argument to false, the string will not be valid anymore, hence NULL. Uint32 implements in
storage/null/uint32.go:43
↓ 19 callersFunctionMakeUint64
MakeUint64 creates a new Uint64. Setting the second optional argument to false, the string will not be valid anymore, hence NULL. Uint64 implements in
storage/null/uint64.go:43
↓ 19 callersFunctionMakeUint8
MakeUint8 creates a new Uint8. Setting the second optional argument to false, the string will not be valid anymore, hence NULL. Uint8 implements inter
storage/null/uint8.go:43
↓ 19 callersFunctionNewUnion
NewUnion creates a new Union object. If using as a template, only one *Select object can be provided.
sql/dml/union.go:52
↓ 19 callersFunctionNewUpdate
NewUpdate creates a new Update object.
sql/dml/update.go:34
↓ 19 callersMethodOnDuplicateKey
OnDuplicateKey enables for all columns to be written into the ON DUPLICATE KEY claus. Takes the field OnDuplicateKeyExclude into consideration.
sql/dml/insert.go:196
↓ 19 callersMethodSet
Set puts a value back into the Service. Safe for concurrent use. Example usage: // Default Scope p, err := config.MakeByString("currency/option/ba
config/service.go:319
↓ 19 callersMethodWriteTo
WriteTo writes the converted raw data to w. WriterTo is the interface that wraps the WriteTo method. WriteTo writes data to w until there's no more d
config/value.go:215
↓ 19 callersMethodappendInt64
(i int64)
sql/dml/argument_encoder.go:124
↓ 19 callersFunctionwriteInterfaceValue
(arg any, w *bytes.Buffer, pos uint)
sql/dml/argument.go:115
↓ 18 callersMethodAppendColumns
AppendColumns adds new columns to the identifier slice. If a column name is not a valid identifier that column gets switched into an expression. You s
sql/dml/naming.go:191
↓ 18 callersMethodCount
Count executes a COUNT(*) as `counted` query without touching or changing the currently set columns.
sql/dml/select.go:143
↓ 18 callersMethodDo
Do function handles a RowsEvent bound to a specific database. If it returns an error behaviour of "Interrupted", the canal type will stop the syncer.
sql/mycanal/handler.go:27
↓ 18 callersMethodExpr
Expr compares the left hand side with the expression of the right hand side.
sql/dml/condition.go:560
↓ 18 callersMethodHeader
()
net/cors/backendcors/bench_test.go:42
↓ 18 callersMethodLess
()
sql/dml/condition.go:436
↓ 18 callersMethodNamedArg
NamedArg treats a condition as a place holder. If set the MySQL/MariaDB placeholder `?` will be used and the provided name gets replaced. Records whic
sql/dml/condition.go:495
↓ 18 callersFunctionNewDelete
NewDelete creates a new Delete object.
sql/dml/delete.go:57
↓ 18 callersMethodSort
Sort is a convenience method to sort stable.
config/path.go:785
↓ 18 callersMethodSum
Sum returns the sum
util/slices/int64.go:130
↓ 18 callersMethodToUint64
ToUint64 converts the hash
store/scope/typeid.go:75
↓ 18 callersMethodUint32s
(values ...uint32)
sql/dml/mapper.go:1336
↓ 18 callersMethodWriteIdentifier
WriteIdentifier quotes with back ticks and splits at a dot into the qualified or unqualified identifier. First argument table and/or column name (sepa
sql/dml/naming.go:345
↓ 18 callersFunctionassertHeaders
(t *testing.T, resHeaders http.Header, reqHeaders map[string]string)
net/cors/internal/corstest.go:42
↓ 18 callersFunctioncreateRealSessionWithFixtures
(t testing.TB, c *installFixturesConfig)
sql/dml/dml_test.go:51
↓ 18 callersFunctiontestCloser
testCloser for usage in conjunction with defer. defer testCloser(t,db) Cannot use dmltest.Close because of circular dependency.
sql/dml/dml_test.go:60
↓ 18 callersFunctiontestHandler
()
net/cors/internal/corstest.go:36
↓ 18 callersMethodwrite
(w *bytes.Buffer, args ...any)
sql/dml/condition.go:76
↓ 17 callersMethodDate
Date formats DateTime using example BaseDate const
util/pseudo/dates.go:58
↓ 17 callersMethodInsert
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:965
↓ 17 callersMethodIsView
IsView determines if a table is a view. Either via system attribute or via its table name.
sql/ddl/table.go:175
↓ 17 callersFunctionMakeBool
MakeBool creates a new Bool. Implements interface Argument.
storage/null/bool.go:40
↓ 17 callersMethodNewEncoder
(io.Writer)
storage/objcache/service.go:52
↓ 17 callersMethodNullInt64
(nv null.Int64)
sql/dml/interpolate.go:226
↓ 17 callersMethodOr
Or sets the logical OR operator
sql/dml/condition.go:300
↓ 17 callersMethodString
()
sql/dml/mapper.go:187
↓ 17 callersMethodStrings
Strings converts all IP addresses to a string slice.
net/ranges.go:82
↓ 17 callersMethodTuples
Tuples allows to build a query string for tuple comparison. SELECT * FROM catalog_product_index_decimal_idx WHERE (entity_id,attribute_id,store_id,s
sql/dml/condition.go:514
↓ 17 callersMethodValue
Value implements the driver Valuer interface.
storage/null/bool.go:72
↓ 17 callersMethoddecode
(data []byte)
sql/myreplicator/event.go:43
↓ 17 callersFunctionnewCorsService
(pv cfgmock.PathValue)
net/cors/backendcors/options_test.go:94
↓ 17 callersFunctionpluralize
(name string)
sql/dmlgen/strings.go:14
↓ 17 callersFunctionreqWithStore
(method string)
net/cors/backendcors/options_test.go:87
↓ 16 callersMethodJoin
Join joins the slice using a separator.
util/slices/string.go:201
↓ 16 callersFunctionMakeFloat64
MakeFloat64 creates a new Float64. Setting the second optional argument to false, the string will not be valid anymore, hence NULL. Float64 implements
storage/null/float64.go:41
↓ 16 callersMethodNullFloat64
(nv null.Float64)
sql/dml/interpolate.go:224
↓ 16 callersFunctionRegisterWithJSON
RegisterWithJSON reads all JSON byte data from r into memory, parses it, creates the appropriate observers and registers them with the config.Service.
config/observer/json.go:168
↓ 16 callersMethodReset
()
sql/dmlgen/dmltestgenerated/dmltestgeneratedpb/output_gen.pb.go:800
↓ 16 callersMethodSQLIfNull
SQLIfNull see description at function SQLIfNull.
sql/dml/condition.go:867
↓ 16 callersMethodSet
(hash []byte, ttl time.Duration)
net/signed/header_transparent.go:29
↓ 16 callersMethodSetLang
SetLang sets the language in which the data should be generated returns error if passed language is not available
util/pseudo/fake.go:301
↓ 16 callersMethodTargetAndParents
TargetAndParents extracts from a given slice the first index (that is zero) as target and removes the first index from the slice to return the parents
store/scope/typeid.go:267
↓ 16 callersFunctionToInt64
(i interface{})
util/conv/cast.go:40
↓ 16 callersMethodToInt64
ToInt64 converts to type int64 slice.
util/slices/int64.go:30
↓ 16 callersFunctionfile_output_gen_proto_rawDescGZIP
()
sql/dmlgen/dmltestgenerated/dmltestgeneratedpb/output_gen.pb.go:1847
↓ 16 callersMethodisAllowedRelationship
(table1, column1, table2, column2 string)
sql/dmlgen/dmlgen.go:157
↓ 16 callersMethodisDataShort
(data []byte, expected int)
sql/myreplicator/json_binary.go:263
↓ 16 callersFunctiontoIFaceSlice
(args ...any)
sql/dml/dbr_test.go:28
↓ 15 callersMethodBind
Bind binds a path to a new scope with its scope ID. Returns a new Path pointer and does not apply the changes to the current Path. Fluent API design.
config/path.go:230
↓ 15 callersMethodConfigByScopeID
ConfigByScopeID returns the correct configuration for a scope and may fall back to the next higher scope: store -> website -> default. If `current` Ty
net/ratelimit/service_generic.go:257
↓ 15 callersMethodConfigByScopedGetter
ConfigByScopedGetter returns the internal configuration depending on the ScopedGetter. Mainly used within the middleware. If you have applied the opt
net/jwt/service_generic.go:179
↓ 15 callersMethodCopy
Copy copies the struct and returns a new pointer
store/entities_gen.go:28
↓ 15 callersMethodCount
Count implements XStats interface
net/accesslog/access_log.go:42
↓ 15 callersMethodIsEmpty
IsEmpty returns true if the underlying route is empty.
config/path.go:452
↓ 15 callersMethodMerge
Merge copies the data from a groups into this slice and returns the new slice. Appends if ID is not found in this slice otherwise overrides struct fie
config/elements.go:415
↓ 15 callersFunctionMustNew
MustNew same as New() but panics on error. Use only during app start up process.
net/internal/scopedservice/service_generic.go:90
← previousnext →201–300 of 7,620, ranked by callers