Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bigpigeon/toyorm
/ functions
Functions
754 in github.com/bigpigeon/toyorm
⨍
Functions
754
◇
Types & classes
283
↓ 1 callers
Method
manyToManyPreloadWithTag
(model *Model, field Field, isRight bool, tag reflect.StructTag)
collection.go:189
↓ 1 callers
Function
newTagKeyVal
(s string)
model_field.go:211
↓ 1 callers
Method
reallocate
()
record_struct.go:133
↓ 1 callers
Method
report
()
result.go:89
↓ 1 callers
Method
softDelete
(records ModelRecords)
collection_brick.go:419
↓ 1 callers
Method
softDelete
(records ModelRecords)
toy_brick.go:638
↓ 1 callers
Method
softDeleteWithPrimaryKey
(records ModelRecords)
collection_brick.go:399
↓ 1 callers
Method
softDeleteWithPrimaryKey
(records ModelRecords)
toy_brick.go:618
Method
Add
(v reflect.Value)
record_namemap.go:117
Method
Add
(v reflect.Value)
record_offsetmap.go:100
Method
Add
(v reflect.Value)
record_struct.go:147
Method
AddForeignKey
(model, relationModel *Model, ForeignKeyField Field)
dialect.go:42
Method
AddForeignKey
(model, relationModel *Model, ForeignKeyField Field)
dialect.go:385
Method
AddForeignKey
(model, relationModel *Model, ForeignKeyField Field)
dialect_postgres.go:388
Method
AffectData
()
result.go:213
Method
AffectData
()
result.go:244
Method
AffectData
()
result.go:281
Method
AffectData
()
result.go:313
Method
AllField
()
record.go:18
Method
AllField
()
record_namemap.go:202
Method
AllField
()
record_offsetmap.go:185
Method
AllField
()
record_struct.go:247
Method
And
()
collection_brick.go:66
Method
Append
(query string, args ...interface{})
exec.go:46
Method
Append
go-bug DefaultExec will return ExecValue(DefaultExec), so must to implement this func
exec.go:66
Method
Args
()
exec.go:42
Method
Attr
sql foreign declaration
model_field.go:34
Method
Attr
(s string)
model_field.go:158
Method
Attrs
()
model_field.go:162
Method
AutoIncrement
()
model_field.go:134
Method
BelongToPreload
(model *Model, field Field)
collection.go:144
Method
BelongToWith
join with specified container field declaration,when call ToyBrick.Preload(<container field>) will automatic association this field
model_field.go:40
Method
BelongToWith
()
model_field.go:178
Function
BenchmarkFind
(b *testing.B)
benchmarks_test.go:144
Function
BenchmarkInsert
(b *testing.B)
benchmarks_test.go:70
Function
BenchmarkStandardFind
(b *testing.B)
benchmarks_test.go:88
Function
BenchmarkStandardInsert
(b *testing.B)
benchmarks_test.go:41
Function
BenchmarkStandardUpdate
(b *testing.B)
benchmarks_test.go:175
Function
BenchmarkUpdate
(b *testing.B)
benchmarks_test.go:216
Method
BindDefaultFields
(args ...interface{})
collection_brick.go:297
Method
BindFields
(mode Mode, args ...interface{})
collection_brick.go:284
Method
Clone
()
collection_brick.go:74
Function
CollectionHandlerAssignToAllDb
assign after handlers to all db
collection_handlers.go:405
Function
CollectionHandlerCreateTable
(ctx *CollectionContext)
collection_handlers.go:421
Function
CollectionHandlerDropTable
(ctx *CollectionContext)
collection_handlers.go:453
Function
CollectionHandlerExistTableAbort
(ctx *CollectionContext)
collection_handlers.go:434
Function
CollectionHandlerFind
(ctx *CollectionContext)
collection_handlers.go:823
Function
CollectionHandlerFindOne
(ctx *CollectionContext)
collection_handlers.go:895
Function
CollectionHandlerFindOneAssignDbIndex
(ctx *CollectionContext)
collection_handlers.go:873
Function
CollectionHandlerInsert
(ctx *CollectionContext)
collection_handlers.go:240
Function
CollectionHandlerInsertAssignDbIndex
(ctx *CollectionContext)
collection_handlers.go:178
Function
CollectionHandlerInsertTimeGenerate
(ctx *CollectionContext)
collection_handlers.go:158
Function
CollectionHandlerNotExistTableAbort
(ctx *CollectionContext)
collection_handlers.go:464
Function
CollectionHandlerPreloadContainerCheck
(ctx *CollectionContext)
collection_handlers.go:482
Function
CollectionHandlerPreloadFind
(ctx *CollectionContext)
collection_handlers.go:674
Function
CollectionHandlerSave
(ctx *CollectionContext)
collection_handlers.go:558
Function
CollectionHandlerSaveTimeGenerate
(ctx *CollectionContext)
collection_handlers.go:541
Function
CollectionHandlerSoftDeleteCheck
(ctx *CollectionContext)
collection_handlers.go:942
Function
CollectionHandlerUSave
(ctx *CollectionContext)
collection_handlers.go:627
Function
CollectionHandlerUpdate
(ctx *CollectionContext)
collection_handlers.go:961
Function
CollectionHandlerUpdateTimeGenerate
(ctx *CollectionContext)
collection_handlers.go:950
Function
CollectionIDGenerate
(ctx *CollectionContext)
main_test.go:849
Method
CollectionIDGenerate
(ctx *toyorm.CollectionContext)
examples/collection_example/collection_example.go:57
Method
Column
()
model_field.go:61
Method
Column
()
model_field.go:76
Method
Column
()
model_field.go:115
Method
Condition
(expr SearchExpr, key FieldSelection, v ...interface{})
collection_brick_condition.go:17
Method
Condition
(expr SearchExpr, key FieldSelection, v ...interface{})
toy_brick_condition.go:13
Method
Condition
(expr SearchExpr, key FieldSelection, v ...interface{})
toy_brick_condition.go:78
Method
ConditionExec
(search SearchList, limit, offset int, orderBy []Column, groupBy []Column)
dialect.go:154
Method
ConditionExec
(search SearchList, limit, offset int, orderBy []Column, groupBy []Column)
dialect_postgres.go:128
Method
ConditionGroup
(expr SearchExpr, group interface{})
collection_brick_condition.go:22
Method
ConditionGroup
(expr SearchExpr, group interface{})
collection_brick_condition.go:63
Method
ConditionGroup
(expr SearchExpr, group interface{})
toy_brick_condition.go:18
Method
ConditionGroup
(expr SearchExpr, group interface{})
toy_brick_condition.go:83
Method
Count
()
collection_brick.go:488
Method
CountExec
(model *Model, alias string)
dialect.go:401
Method
CountExec
(model *Model, alias string)
dialect_postgres.go:404
Method
CreateTable
()
collection_brick.go:452
Method
CreateTable
()
toy_brick.go:672
Method
CreateTable
(model *Model, foreign map[string]ForeignKey)
dialect_sqlite.go:37
Method
CreateTable
use to test
dialect.go:86
Method
CreateTable
(model *Model, foreign map[string]ForeignKey)
dialect_mysql.go:33
Method
CreateTable
(model *Model, foreign map[string]ForeignKey)
dialect_postgres.go:55
Method
CreateTableIfNotExist
()
collection_brick.go:457
Method
CustomBelongToPreload
(container, relationship interface{}, args ...interface{})
collection_brick.go:209
Method
CustomManyToManyPreload
(middleStruct, container, relation, subRelation interface{}, args ...interface{})
collection_brick.go:258
Method
CustomOneToManyPreload
(container, relationship interface{}, args ...interface{})
collection_brick.go:233
Method
CustomOneToOnePreload
(container, relationship interface{}, args ...interface{})
collection_brick.go:184
Method
DB
()
toy.go:247
Method
Deadline
()
context.go:27
Method
Default
()
model_field.go:170
Method
Delete
(v interface{})
collection_brick.go:577
Method
DeleteExec
()
collection_brick.go:657
Method
DeleteExec
()
toy_brick.go:897
Method
DeleteExec
(model *Model)
dialect.go:357
Method
DeleteExec
(model *Model)
dialect_postgres.go:327
Method
DeleteField
(string)
record.go:20
Method
DeleteField
(name string)
record_namemap.go:187
Method
DeleteField
(name string)
record_offsetmap.go:170
← previous
next →
301–400 of 754, ranked by callers