MCPcopy Create free account

hub / github.com/corestoreio/pkg / functions

Functions7,620 in github.com/corestoreio/pkg

↓ 45 callersFunctionToString
(i interface{})
util/conv/cast.go:45
↓ 44 callersMethodBool
(b bool)
sql/dml/interpolate.go:212
↓ 44 callersMethodInts
(i ...int)
sql/dml/interpolate.go:203
↓ 43 callersMethodDone
Done releases all the waiting Goroutines caught with the function IsRunning() and sets the internal state to done. Any subsequent calls to ShouldWait(
sync/suspend/state.go:177
↓ 43 callersMethodError
()
net/csgrpc/auth/service.go:302
↓ 43 callersMethodGet
Get error behaviour must be NotSupported
util/csjwt/claims.go:64
↓ 43 callersMethodWrite
Write writes a signature to the HTTP response header.
net/signed/http.go:38
↓ 43 callersMethodlookup
(lang, cat string, fallback bool)
util/pseudo/fake.go:339
↓ 42 callersMethodFloat64
(f float64)
sql/dml/interpolate.go:208
↓ 42 callersFunctionMustNewService
MustNewService creates a new Service but panics on error.
util/pseudo/fake.go:159
↓ 42 callersMethodOut
Out unindents the output one tab stop.
util/codegen/common.go:155
↓ 42 callersMethodParse
Parse parses from a request the necessary data to find the signature hash and returns the raw signatures byte slice for further validation.
net/signed/http.go:41
↓ 41 callersMethodBindWebsite
BindWebsite binds a path to a website scope and its ID. Returns a new Path pointer and does not apply the changes to the current Path. Convenience hel
config/path.go:238
↓ 40 callersFunctionInterpolate
Interpolate takes a SQL byte slice with placeholders and a list of arguments to replace them with. It returns a blank string or an error if the number
sql/dml/interpolate.go:143
↓ 40 callersMethodInterpolate
Interpolate if set stringyfies the arguments into the SQL string and returns pre-processed SQL command when calling the function ToSQL. Not suitable f
sql/dml/dbr.go:398
↓ 40 callersMethodReset
Reset resets the internal slices for new usage retaining the already allocated memory. Reset gets called automatically in many Load* functions. In cas
sql/dml/dbr.go:817
↓ 40 callersMethodWriteHeader
(n int)
net/cors/bench_test.go:47
↓ 40 callersFunctionargPrinter
(wf *dml.Condition)
sql/dml/example_test.go:469
↓ 39 callersMethodGet
Get returns a configuration value from the Service, ignoring the scope hierarchy/fallback logic using a direct match. Safe for concurrent use. Example
config/service.go:378
↓ 39 callersMethodMapColumns
RowScan implementation must use function `Scan` to scan the values of the query into its own type. See database/sql package for examples.
sql/dml/mapper.go:37
↓ 39 callersMethodMode
Mode returns a status byte of four different states. These states are getting used in the implementation of ColumnMapper. Each state represents a diff
sql/dml/mapper.go:140
↓ 39 callersMethodPrepare
Prepare generates a prepared statement from the underlying SQL and assigns the *sql.Stmt to the DB field. It fails if it contains an already prepared
sql/dml/dbr.go:839
↓ 39 callersFunctionnotEqualPointers
(t *testing.T, o1, o2 any, msgAndArgs ...any)
sql/dml/dml_test.go:362
↓ 38 callersMethodOrderByDesc
OrderByDesc appends columns to the ORDER BY statement for descending sorting. A column gets always quoted if it is a valid identifier otherwise it wil
sql/dml/dbr.go:333
↓ 38 callersMethodSet
(ctx context.Context, keys []K, values [][]byte, expirations []time.Duration)
storage/objcache/service.go:38
↓ 38 callersMethodValidate
Validate runs the validation process which becomes valid once the error is nil.
util/validation/val.go:21
↓ 37 callersMethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated/output_gen.go:3250
↓ 37 callersMethodIndex
(i AttributeIndex)
eav/attribute.go:112
↓ 37 callersMethodTime
(t time.Time)
sql/dml/interpolate.go:220
↓ 36 callersMethodByField
ByField finds a column by its field name. Case sensitive. Guaranteed to return a non-nil return value.
sql/ddl/columns.go:304
↓ 36 callersMethodIsZero
IsZero returns true for invalid Bools, for future omitempty support (Go 1.4?) A non-null Bool with a 0 value will not be considered zero.
storage/null/bool.go:199
↓ 35 callersMethodClear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:2760
↓ 35 callersMethodInt64
Int64 converts the underlying converted data into the final type.
config/value.go:358
↓ 34 callersMethodClose
()
storage/objcache/service.go:45
↓ 34 callersMethodOptions
()
config/_cfgsource/slice.go:30
↓ 34 callersFunctionreqWithStore
(method string)
net/cors/service_test.go:39
↓ 33 callersMethodAppend
Append adds more *Select objects to the Union object. When using Union as a template only one *Select object can be provided.
sql/dml/union.go:67
↓ 33 callersMethodErr
()
net/accesslog/access_log_test.go:40
↓ 33 callersMethodType
Type returns the underlying type.
store/scope/type.go:160
↓ 33 callersFunctionwriteToSQLAndInterpolate
(qb dml.QueryBuilder)
sql/dml/example_test.go:47
↓ 32 callersMethodContains
Contains returns true if fieldName is contained in slice Columns.
sql/ddl/columns.go:283
↓ 32 callersMethodError
()
util/conv/cast_test.go:223
↓ 32 callersMethodInt
Int converts the underlying converted data into the final type.
config/value.go:304
↓ 32 callersMethodLimit
Limit sets a LIMIT clause for the statement; overrides any existing LIMIT. This LIMIT clause gets appended to the current internal cached SQL string i
sql/dml/dbr.go:342
↓ 32 callersMethodScoped
(websiteID, storeID int64)
config/service.go:34
↓ 32 callersMethodSub
Sub compares the left hand side with the SELECT of the right hand side. Choose the appropriate comparison operator, default is IN.
sql/dml/condition.go:550
↓ 31 callersMethodDelete
(ctx context.Context, keys []K)
storage/objcache/service.go:43
↓ 31 callersMethodGroupBy
GroupBy appends columns to group the statement. A column gets always quoted if it is a valid identifier otherwise it will be treated as an expression.
sql/dml/select.go:231
↓ 31 callersMethodIsValid
IsValid checks for valid configuration path. Returns nil on success. Configuration path attribute can have only three groups of [a-zA-Z0-9_] character
config/path.go:407
↓ 31 callersFunctionQualify
Qualify provides a more concise way to create QualifiedRecord values.
sql/dml/argument.go:53
↓ 31 callersMethodUnsafe
Unsafe see BuilderBase.IsUnsafe which weakens security when building the SQL string. This function must be called before calling any other function.
sql/dml/union.go:60
↓ 31 callersMethodshouldCollectArgs
()
sql/dml/mapper.go:251
↓ 30 callersMethodGreater
()
sql/dml/condition.go:441
↓ 30 callersMethodInsert
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated/output_gen.go:3211
↓ 29 callersMethodAddColumnsConditions
AddColumnsConditions adds a condition as a column to the statement. The operator field gets ignored. DBR in the condition gets applied to the RawArgum
sql/dml/select.go:192
↓ 29 callersFunctionMakeIdentifier
MakeIdentifier creates a new quoted name with an optional alias `a`, which can be empty.
sql/dml/naming.go:65
↓ 29 callersFunctionMustMakePath
MustMakePath same as MakePath but panics on error.
config/path.go:223
↓ 29 callersFunctiongetReq
(m, t string, c *http.Cookie)
net/runmode/middleware_test.go:34
↓ 28 callersMethodAll
All returns all rows. The default behavior for UNION is that duplicate rows are removed from the result. Enabling ALL returns all rows.
sql/dml/union.go:74
↓ 28 callersMethodDecode
(dst any)
storage/objcache/service.go:66
↓ 28 callersMethodLessOrEqual
()
sql/dml/condition.go:446
↓ 28 callersMethodNotEqual
()
sql/dml/condition.go:421
↓ 28 callersMethodRegister
(ctx context.Context, in *Configurations, opts ...grpc.CallOption)
config/observer/proto.pb.go:132
↓ 28 callersMethodReset
Reset resets both buffers.
util/bufferpool/twin.go:71
↓ 28 callersMethodRowsAffected
()
sql/dml/dbr_test.go:422
↓ 28 callersFunctionToBool
(i interface{})
util/conv/cast.go:10
↓ 28 callersMethodWithDB
WithDB sets the database query object.
sql/dml/dbr.go:825
↓ 27 callersMethodAddClauses
AddClauses appends a column/value pair for the statement.
sql/dml/update.go:56
↓ 27 callersMethodDuration
Duration converts the underlying converted data into the final type. Uses internally time.ParseDuration
config/value.go:528
↓ 27 callersMethodNamed
Named uses the NamedArg for string replacement. Replaces the names with place holder character.
sql/dml/interpolate.go:255
↓ 27 callersMethodSetRowCount
SetRowCount defines the number of expected rows. Each set of place holders within the brackets defines a row. This setting defaults to one. It gets ap
sql/dml/insert.go:162
↓ 27 callersMethodUint16
Uint16 reads an uint16 value and appends it to the arguments slice or assigns the uint16 value stored in sql.RawBytes to the pointer. See the document
sql/dml/mapper.go:980
↓ 27 callersMethodisExpression
()
sql/dml/condition.go:305
↓ 27 callersFunctionmustTMK
(key string)
sql/dmlgen/typemap.go:340
↓ 27 callersFunctionwriteNumber
(w *bytes.Buffer, i N)
sql/dml/builder.go:255
↓ 26 callersMethodAlg
Alg returns the name of the underlying algorithm
util/csjwt/claims.go:58
↓ 26 callersMethodScan
(interface{})
util/pseudo/fake.go:405
↓ 26 callersMethodStr
Str returns the underlying value as a string. Ok is true when data slice bytes are not nil. Whereas function String implements fmt.Stringer and return
config/value.go:115
↓ 26 callersMethodUint64
(i uint64)
sql/dml/interpolate.go:206
↓ 26 callersMethodquote
(w *bytes.Buffer, str string)
sql/dml/naming.go:279
↓ 26 callersFunctionsovEntitiesGen
(x uint64)
store/entities_gen.pb.go:701
↓ 25 callersMethodLastInsertId
()
sql/dml/dbr_test.go:418
↓ 25 callersMethodSet
Set error behaviour must be NotSupported
util/csjwt/claims.go:62
↓ 25 callersMethodSplit
Split splits the route into its three parts and appends it to the slice `ret`. Does not run Validate() Example: routes := cfgpath.MakeRoute("aa/bb/c
config/path.go:698
↓ 25 callersMethodStrings
(values ...string)
sql/dml/mapper.go:1364
↓ 25 callersMethodUnpack
Unpack extracts a Scope and its ID from a hash. Returned ID can be 0 when the Hash contains invalid data. If the data is invalid the Type gets set to
store/scope/typeid.go:141
↓ 25 callersMethodWithCORS
WithCORS to be used as a middleware. This middleware expects to find a scope.FromContext().
net/cors/service_mw.go:27
↓ 25 callersFunctionencodeVarintEntitiesGen
(dAtA []byte, offset int, v uint64)
store/entities_gen.pb.go:539
↓ 24 callersMethodBool
Bool converts the underlying converted data into the final type.
config/value.go:230
↓ 24 callersMethodMarshalText
()
util/conv/caste.go:396
↓ 24 callersMethodNewDecoder
(io.Reader)
storage/objcache/service.go:53
↓ 24 callersMethodNullTime
(nv null.Time)
sql/dml/interpolate.go:230
↓ 24 callersMethodScopeIDs
ScopeIDs returns the hierarchical order of the scopes containing ScopeID() on position zero and ParentID() on position one. This function guarantees t
config/service.go:543
↓ 24 callersMethodStar
Star creates a SELECT * FROM query. Such queries are discouraged from using.
sql/dml/select.go:149
↓ 24 callersMethodWriteTo
WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of th
sql/dmlgen/dmltestgenerated/output_gen.go:3272
↓ 23 callersMethodFieldNames
FieldNames returns all column names and appends it to `fn`, if provided.
sql/ddl/columns.go:171
↓ 23 callersMethodLoad
(ctx context.Context, dbm *DBM, primaryKey uint32, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:910
↓ 23 callersMethodNotLike
()
sql/dml/condition.go:401
↓ 23 callersMethodNull
()
sql/dml/interpolate.go:192
↓ 23 callersMethodStrs
(s ...string)
sql/dml/interpolate.go:211
← previousnext →101–200 of 7,620, ranked by callers