MCPcopy Create free account

hub / github.com/bigpigeon/toyorm / functions

Functions754 in github.com/bigpigeon/toyorm

FunctionHandlerUSave
(ctx *Context)
handlers.go:651
FunctionHandlerUSaveTimeGenerate
(ctx *Context)
handlers.go:713
FunctionHandlerUpdate
(ctx *Context)
handlers.go:555
FunctionHandlerUpdateTimeGenerate
(ctx *Context)
handlers.go:544
MethodHasTable
()
collection_brick.go:472
MethodHasTable
()
toy_brick.go:692
MethodHasTable
(model *Model)
dialect_sqlite.go:18
MethodHasTable
use to test
dialect.go:78
MethodHasTable
(model *Model)
dialect_mysql.go:26
MethodHasTable
(model *Model)
dialect_postgres.go:20
MethodIgnoreMode
(s Mode, ignore IgnoreMode)
collection_brick.go:360
MethodIndex
()
model_field.go:138
MethodInsert
insert can receive three type data struct map[offset]interface{} map[int]interface{} insert is difficult that have preload data
collection_brick.go:511
MethodInsertExec
(record ModelRecord)
collection_brick.go:664
MethodInsertExec
(record ModelRecord)
toy_brick.go:904
MethodInsertExec
(model *Model, columnValues []ColumnNameValue)
dialect.go:361
MethodInsertExec
(model *Model, columnValues []ColumnNameValue)
dialect_postgres.go:343
MethodInsertExecutor
(db Executor, exec ExecValue, debugPrinter func(ExecValue, error))
dialect.go:70
MethodInsertExecutor
(db Executor, exec ExecValue, debugPrinter func(ExecValue, error))
dialect_postgres.go:41
MethodIsAborted
()
context.go:75
MethodIsAborted
()
context.go:130
MethodIsForeign
()
model_field.go:146
MethodIsPrimary
()
model_field.go:130
MethodIsVariableContainer
()
record.go:49
MethodIsVariableContainer
()
record_namemap.go:152
MethodIsVariableContainer
()
record_namemap.go:206
MethodIsVariableContainer
()
record_offsetmap.go:135
MethodIsVariableContainer
()
record_offsetmap.go:189
MethodIsVariableContainer
()
record_struct.go:184
MethodIsVariableContainer
()
record_struct.go:258
MethodJoin
use join to association query
toy_brick.go:198
MethodJoinExec
(mainSwap *JoinSwap)
dialect.go:417
MethodJoinExec
(mainSwap *JoinSwap)
dialect_postgres.go:420
MethodJoinWith
model meta field value
model_field.go:39
MethodJoinWith
()
model_field.go:174
MethodJsonArgs
()
exec.go:52
MethodLen
()
record_namemap.go:160
MethodLen
()
record_offsetmap.go:143
MethodLen
()
record_struct.go:192
MethodLoginPage
(ctx *gin.Context)
examples/website/website.go:74
MethodLogout
(ctx *gin.Context)
examples/website/website.go:125
MethodMainPage
(ctx *gin.Context)
examples/website/website.go:59
FunctionMakeRecords
(model *Model, _type reflect.Type)
record.go:91
MethodManyToManyPreload
(model *Model, field Field, isRight bool)
collection.go:185
MethodMarshalJSON
()
examples/website/utils.go:35
MethodMiddleModel
(v, sv interface{})
collection.go:122
MethodModelHandlers
(option string, model *Model)
collection.go:108
MethodMustAddr
required object in Toy.[Model] TODO Brick.[Insert,Find,Update,Save,USave,Delete] method's parameter must be point object
toy.go:81
MethodName
()
model_field.go:119
MethodOffset
(i int)
toy_brick.go:504
MethodOffset
()
model_field.go:126
MethodOneToManyPreload
(model *Model, field Field)
collection.go:172
MethodOneToManyWith
OneToOne with specified container field declaration,ToyBrick.Preload(<container field>) will automatic association this field
model_field.go:42
MethodOneToManyWith
()
model_field.go:186
MethodOneToOnePreload
(model *Model, field Field)
collection.go:159
MethodOneToOneWith
BelongTo with specified container field declaration,ToyBrick.Preload(<container field>) will automatic association this field
model_field.go:41
MethodOneToOneWith
()
model_field.go:182
MethodOr
()
collection_brick.go:70
MethodPostNewUser
(ctx *gin.Context)
examples/website/website.go:136
MethodPostOrder
(ctx *gin.Context)
examples/website/website.go:218
MethodPostSession
(ctx *gin.Context)
examples/website/website.go:249
MethodPreload
return
collection_brick.go:141
MethodPrepare
(query string)
toy_brick.go:854
MethodQuery
(exec ExecValue, i int)
collection_brick.go:616
MethodQuery
(exec ExecValue)
toy_brick.go:832
MethodQuery
()
exec.go:38
MethodRegisterPage
(ctx *gin.Context)
examples/website/website.go:80
MethodRightValuePreload
this module is get preload which is right middle field name in many-to-many mode it only use for sub model type is same with main model type e.g User{
collection_brick.go:119
MethodSave
(v interface{})
collection_brick.go:549
MethodSaveExec
(record ModelRecord)
collection_brick.go:672
MethodSaveExec
(record ModelRecord)
toy_brick.go:912
MethodSaveExec
(model *Model, columnValues []ColumnNameValue)
dialect_sqlite.go:25
MethodSaveExec
(model *Model, columnValues []ColumnNameValue)
dialect.go:373
MethodSaveExec
replace will failure when have foreign key
dialect_mysql.go:101
MethodSaveExec
postgres have not replace use ON CONFLICT(%s) replace
dialect_postgres.go:352
MethodSaveExecutor
(db Executor, exec ExecValue, debugPrinter func(ExecValue, error))
dialect.go:52
MethodSaveExecutor
(db Executor, exec ExecValue, debugPrinter func(ExecValue, error))
dialect_mysql.go:19
MethodScan
(value interface{})
examples/preload_example/preload_example.go:22
MethodSelect
(n int)
main_test.go:103
MethodSelector
(selector DBPrimarySelector)
collection_brick.go:332
MethodSetAffectData
(d []int)
result.go:217
MethodSetAffectData
(d []int)
result.go:248
MethodSetAffectData
(d []int)
result.go:285
MethodSetAffectData
(d []int)
result.go:317
MethodSetField
(name string, value reflect.Value)
record_namemap.go:174
MethodSetField
(name string, value reflect.Value)
record_offsetmap.go:157
MethodSetField
set field to field value map or virtual field value map but if value is invalid delete it on map
record_struct.go:209
MethodSource
()
record.go:24
MethodSource
()
record.go:52
MethodSource
()
record_namemap.go:164
MethodSource
()
record_namemap.go:210
MethodSource
()
record_offsetmap.go:147
MethodSource
()
record_offsetmap.go:193
MethodSource
()
record_struct.go:196
MethodSource
()
record_struct.go:262
MethodSource
()
exec.go:34
MethodSource
default value in database
model_field.go:44
MethodSource
()
model_field.go:59
MethodSource
()
model_field.go:74
MethodSource
()
model_field.go:190
← previousnext →501–600 of 754, ranked by callers