MCPcopy Create free account

hub / github.com/corestoreio/pkg / functions

Functions7,620 in github.com/corestoreio/pkg

↓ 7 callersMethodFind
Find returns a Group pointer or index -1 if group not found. Route must be a single part. E.g. if you have path "a/b/c" route would be in this case "b
config/elements.go:403
↓ 7 callersMethodFirst
First returns the first column from the slice. Guaranteed to a non-nil return value.
sql/ddl/columns.go:334
↓ 7 callersMethodIsAutoIncrement
IsAutoIncrement checks if column has an auto increment property
sql/ddl/columns.go:507
↓ 7 callersMethodIsDir
()
util/pseudo/bindata.go:180
↓ 7 callersMethodIsOneToOne
IsOneToOne
sql/ddl/foreign_key.go:332
↓ 7 callersMethodIsWebSiteOrStore
IsWebSiteOrStore returns true if the type is either Website or Store.
store/scope/type.go:109
↓ 7 callersMethodLoadNullString
LoadNullString executes the query and returns the first row parsed into the current type. `Found` might be false if there are no matching rows.
sql/dml/dbr.go:1140
↓ 7 callersFunctionMakeDecimalBytes
MakeDecimalBytes parses b to create a new Decimal. b must contain ASCII numbers. If b contains null/NULL the returned object represents that value. Th
storage/null/decimal.go:109
↓ 7 callersFunctionMakeIPRange
MakeIPRange creates a new instance.
net/ranges.go:32
↓ 7 callersMethodMonth
Month generates month name
util/pseudo/dates.go:26
↓ 7 callersFunctionNewColumnMap
NewColumnMap exported for testing reasons.
sql/dml/mapper.go:77
↓ 7 callersFunctionNewConnPool
NewConnPool instantiates a ConnPool for a given database/sql connection and event receiver. An invalid driver name causes a NotImplemented error to be
sql/dml/connection.go:432
↓ 7 callersFunctionObjectsAreEqual
* Helper functions */ ObjectsAreEqual determines if two objects are considered equal. This function does no assertion of any kind.
util/assert/assertions.go:42
↓ 7 callersMethodOpen
(name string)
sql/dml/connection_callback.go:50
↓ 7 callersMethodOptimize
Optimize optimizes a table. https://mariadb.com/kb/en/optimize-table/
sql/ddl/table.go:395
↓ 7 callersMethodParseFromRequest
ParseFromRequest same as Parse but extracts the token from a request. First it searches for the token bearer in the header HTTPHeaderAuthorization. If
util/csjwt/jwthttp/request.go:60
↓ 7 callersMethodPutEvent
PutEvent inserts the eo into the trie at the given key, replacing any existing items. It returns true if the put adds a new fm, false if it replaces a
config/route_trie.go:240
↓ 7 callersMethodRecursive
Recursive common table expressions are one having a subquery that refers to its own name. The WITH clause must begin with WITH RECURSIVE if any CTE in
sql/dml/with.go:116
↓ 7 callersMethodReset
()
config/observer/proto.pb.go:73
↓ 7 callersMethodScan
Scan implements the Scanner interface. Approx. >3x times faster than database/sql.convertAssign.
storage/null/int64.go:57
↓ 7 callersMethodScan
Scan implements the Scanner interface. Approx. >3x times faster than database/sql.convertAssign.
storage/null/float64.go:56
↓ 7 callersMethodScan
Scan implements the Scanner interface. Approx. >3x times faster than database/sql.convertAssign.
storage/null/int32.go:58
↓ 7 callersMethodScan
Scan implements the Scanner interface. Approx. >3x times faster than database/sql.convertAssign.
storage/null/int8.go:60
↓ 7 callersMethodScan
Scan implements the Scanner interface. Approx. >3x times faster than database/sql.convertAssign.
storage/null/int16.go:60
↓ 7 callersMethodStores
Stores returns a cached Store slice containing all related websites and groups. You shall not modify the returned slice.
store/service.go:622
↓ 7 callersMethodStrType
StrType converts the underlying Type to one of the three available type strings from the database table `core_config_data`.
store/scope/type.go:69
↓ 7 callersMethodString
String returns the string representation of the fixed with decimal. Returns the word `NULL` if the current value is not valid, for now.
storage/null/decimal.go:235
↓ 7 callersMethodSum
Sum calculates the hash of data and appends the current hash to appendTo and returns the resulting slice. It does not change the underlying hash state
util/hashpool/hashpool.go:54
↓ 7 callersMethodToString
()
sql/dml/example_columnMapper_test.go:56
↓ 7 callersFunctionToStringSlice
(i interface{})
util/conv/cast.go:80
↓ 7 callersMethodUpdate
Update gets used in the top level statement.
sql/dml/with.go:91
↓ 7 callersMethodUpsert
Upsert adds or updates a new table into the internal cache. If a table already exists, then the new table gets applied. The ListenerBuckets gets merge
sql/ddl/tables.go:525
↓ 7 callersMethodViewPrimaryKeys
ViewPrimaryKeys is a special function for views which might be able to figure out the primary key columns. Neither MySQL nor MariaDB do not report whi
sql/ddl/columns.go:226
↓ 7 callersMethodWithIsCountryAllowedByIP
WithIsCountryAllowedByIP queries the AllowedCountries slice to retrieve a list of countries for a scope and then uses the function IsAllowedFunc to ch
net/geoip/service_mw.go:83
↓ 7 callersMethodappendFloat64s
(args ...float64)
sql/dml/argument_encoder.go:158
↓ 7 callersMethodappendInts
(args ...int)
sql/dml/argument_encoder.go:116
↓ 7 callersMethodappendUint64s
(args ...uint64)
sql/dml/argument_encoder.go:144
↓ 7 callersMethodapplySort
setSort applies to last n items the sort order `sort` in reverse iteration. Usuallay `lastNindexes` is len(object) because we decrement 1 from `lastNi
sql/dml/naming.go:177
↓ 7 callersFunctionassertBool
(t *testing.T, b Bool, from string)
storage/null/bool_test.go:249
↓ 7 callersFunctionassertInt16
(t *testing.T, i Int16, from string)
storage/null/int16_test.go:259
↓ 7 callersFunctionassertInt32
(t *testing.T, i Int32, from string)
storage/null/int32_test.go:258
↓ 7 callersFunctionassertInt8
(t *testing.T, i Int8, from string)
storage/null/int8_test.go:259
↓ 7 callersFunctionassertNullBool
(t *testing.T, b Bool, from string)
storage/null/bool_test.go:267
↓ 7 callersFunctionassertNullInt16
(t *testing.T, i Int16, from string)
storage/null/int16_test.go:268
↓ 7 callersFunctionassertNullInt32
(t *testing.T, i Int32, from string)
storage/null/int32_test.go:267
↓ 7 callersFunctionassertNullInt64
(t *testing.T, i Int64, from string)
storage/null/int64_test.go:271
↓ 7 callersFunctionassertNullInt8
(t *testing.T, i Int8, from string)
storage/null/int8_test.go:268
↓ 7 callersFunctionassertNullUint16
(t *testing.T, i Uint16, from string)
storage/null/uint16_test.go:256
↓ 7 callersFunctionassertNullUint32
(t *testing.T, i Uint32, from string)
storage/null/uint32_test.go:256
↓ 7 callersFunctionassertNullUint64
(t *testing.T, i Uint64, from string)
storage/null/uint64_test.go:251
↓ 7 callersFunctionassertNullUint8
(t *testing.T, i Uint8, from string)
storage/null/uint8_test.go:256
↓ 7 callersFunctionassertTime
(t *testing.T, ti Time, from string)
storage/null/time_test.go:223
↓ 7 callersFunctionassertUint16
(t *testing.T, i Uint16, from string)
storage/null/uint16_test.go:247
↓ 7 callersFunctionassertUint32
(t *testing.T, i Uint32, from string)
storage/null/uint32_test.go:247
↓ 7 callersFunctionassertUint64
(t *testing.T, i Uint64, from string)
storage/null/uint64_test.go:242
↓ 7 callersFunctionassertUint8
(t *testing.T, i Uint8, from string)
storage/null/uint8_test.go:247
↓ 7 callersFunctionastNodeName
(n ast.Node)
sql/dmlgen/proto.go:621
↓ 7 callersMethodcloseWithError
(err error)
sql/myreplicator/binlogstreamer.go:68
↓ 7 callersFunctioncolumnsIsEligibleForUpsert
columnsIsEligibleForUpsert filters out all current-timestamp, virtual, system versioned and auto_increment columns for update or insert operations.
sql/ddl/columns.go:202
↓ 7 callersMethodfindScopedConfig
findScopedConfig used in functional options to look up if a parent configuration exists and if not creates a newScopedConfig(). The scope.DefaultTypeI
net/geoip/service_generic.go:327
↓ 7 callersMethodfindScopedConfig
findScopedConfig used in functional options to look up if a parent configuration exists and if not creates a newScopedConfig(). The scope.DefaultTypeI
net/ratelimit/service_generic.go:327
↓ 7 callersMethodfullNameWithPrefix
(gender string)
util/pseudo/names.go:94
↓ 7 callersFunctionindirect
From html/template/content.go Copyright 2011 The Go Authors. All rights reserved. indirect returns the value, after dereferencing as many times as nec
util/conv/caste.go:354
↓ 7 callersFunctionisValidIdentifier
(s string)
sql/dml/naming.go:417
↓ 7 callersFunctionjoin
(parts ...string)
util/pseudo/fake.go:316
↓ 7 callersFunctionmakeArgBytes
()
sql/dml/argument_encoder.go:42
↓ 7 callersFunctionmustGetTestService
(opts ...geoip.Option)
net/geoip/service_integration_test.go:40
↓ 7 callersMethodmySQLToGoType
mySQLToGoType calculates the data type of the field DataType. For example bigint, smallint, tinyint will result in "int". If withNull is true the retu
sql/dmlgen/typemap.go:419
↓ 7 callersFunctionnewMMWS
(t TransCacher, userID, licenseKey string, hc *http.Client)
net/geoip/maxmindwebservice/webservice.go:53
↓ 7 callersFunctionparseHeaderList
parseHeaderList tokenize + normalize a string containing a list of headers
net/cors/utils.go:48
↓ 7 callersMethodsqlAddShouldWait
(w io.Writer)
sql/ddl/tables.go:73
↓ 7 callersFunctionsqlWriteOrderBy
(w *bytes.Buffer, orderBys ids, br bool)
sql/dml/builder.go:224
↓ 7 callersMethodupdateScopedConfig
updateScopedConfig used in functional options to store a scoped configuration in the internal cache. This function gets called in a function option at
net/geoip/service_generic.go:359
↓ 7 callersMethodupdateScopedConfig
updateScopedConfig used in functional options to store a scoped configuration in the internal cache. This function gets called in a function option at
net/ratelimit/service_generic.go:359
↓ 6 callersMethodAlgorithm
Algorithm returns the supported algorithm but not the bit size. Returns 0 on error, or one of the constants: ES, HS or RS.
util/csjwt/keys.go:83
↓ 6 callersMethodAppendFQ
AppendFQ validates the Path and appends it to the buffer.
config/path.go:316
↓ 6 callersMethodBeginTx
BeginTx starts a transaction. The provided context is used until the transaction is committed or rolled back. If the context is canceled, the sql pac
sql/dml/connection.go:950
↓ 6 callersMethodConfigByScope
ConfigByScope creates a new scoped configuration depending on the Service.useWebsite flag. If useWebsite==true the scoped configuration contains only
net/geoip/service_generic.go:146
↓ 6 callersMethodConfigByScopedGetter
ConfigByScopedGetter returns the internal configuration depending on the ScopedGetter. Mainly used within the middleware. If you have applied the opt
net/internal/scopedservice/service_generic.go:182
↓ 6 callersMethodContains
Contains returns true if the target int64 t is in the slice.
util/slices/int64.go:83
↓ 6 callersFunctionDecodeSegment
DecodeSegment decodes JWT specific base64url encoding with padding stripped. Returns a new byte slice. Error behaviour: NotValid.
util/csjwt/encodeDecode.go:134
↓ 6 callersMethodDrop
Drop drops, if exists, the table or the view. To use a custom connection, call WithDB before.
sql/ddl/table.go:376
↓ 6 callersMethodEach
Each will run function f on all items in []* CustomerEntity . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1178
↓ 6 callersMethodError
()
sql/myreplicator/event.go:56
↓ 6 callersMethodExec
(args []driver.Value)
sql/dml/connection_callback.go:254
↓ 6 callersMethodFmtNumber
FmtNumber formats a number according to the number format. Internal rounding will be applied. Returns the number bytes written or an error. Thread saf
i18n/number.go:222
↓ 6 callersMethodFromSelect
FromSelect creates an "INSERT INTO `table` SELECT ..." statement from a previously created SELECT statement.
sql/dml/insert.go:212
↓ 6 callersMethodFromString
FromString parses as string in the format: mysql-bin.000002;236423 means filename;position.
sql/ddl/replication.go:125
↓ 6 callersMethodFromTables
FromTables specifies additional tables to delete from besides the default table.
sql/dml/delete.go:69
↓ 6 callersMethodGoCamelMaybePrivate
(fieldName string)
sql/dmlgen/table.go:77
↓ 6 callersMethodInsert
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:350
↓ 6 callersMethodInsert
Insert will place a new item at position i. Auto generated via dmlgen.
store/entities_gen.go:145
↓ 6 callersMethodInt64s
Int64s converts the underlying byte slice into an int64 slice using v.CSVComma as a separator. The result gets append to argument `ret`.
config/value.go:367
↓ 6 callersMethodInts
Ints converts the underlying byte slice into an int64 slice using v.CSVComma as a separator. The result gets append to argument `ret`.
config/value.go:314
↓ 6 callersMethodIsFloat
IsFloat returns true if a column is of one of the types: decimal, double or float.
sql/ddl/columns.go:534
↓ 6 callersMethodIsOneToMany
IsOneToMany returns true for a oneToMany or switching the tables for a ManyToOne relationship
sql/ddl/foreign_key.go:342
↓ 6 callersMethodLoadFloat64s
LoadFloat64s executes the query and returns the values appended to slice dest. It ignores and skips NULL values.
sql/dml/dbr.go:1263
↓ 6 callersMethodLoadNullUint64
LoadNullUint64 executes the query and returns the first row parsed into the current type. `Found` might be false if there are no matching rows. This f
sql/dml/dbr.go:1126
↓ 6 callersMethodLoadStrings
LoadStrings executes the query and returns the values appended to slice dest. It ignores and skips NULL values.
sql/dml/dbr.go:1298
↓ 6 callersMethodLoadUint64s
LoadUint64s executes the query and returns the values appended to slice dest. It ignores and skips NULL values.
sql/dml/dbr.go:1226
← previousnext →501–600 of 7,620, ranked by callers