MCPcopy Create free account

hub / github.com/aobt/sqlmapper / functions

Functions50 in github.com/aobt/sqlmapper

↓ 8 callersFunctionNewFieldsMap
NewFieldsMap new Fields
fields_map.go:121
↓ 6 callersMethodGetFieldValue
GetFieldValue get Values in Object(struct)
fields_map.go:201
↓ 4 callersMethodPrepareStmt
generate statement PrepareStmt prepare statement
fields_map.go:329
↓ 4 callersMethodSQLSelectStmt
SQLSelectStmt generate statement for SELECT
fields_map.go:344
↓ 2 callersMethodGetFieldSaveAddrs
GetFieldSaveAddrs get Pointers of Values in Object(struct)
fields_map.go:52
↓ 2 callersMethodGetFieldSaveAddrs
GetFieldSaveAddrs get Pointers of Values in Object(struct)
fields_map.go:219
↓ 2 callersMethodGetFieldValues
GetFieldValues get Values in Object(struct)
fields_map.go:190
↓ 2 callersMethodMapBackToObject
MapBackToObject mapping back to the original object
fields_map.go:58
↓ 2 callersMethodMapBackToObject
MapBackToObject mapping back to the original object
fields_map.go:248
↓ 2 callersMethodSQLFieldsStr
generate SQL string SQLFieldsStr generate sqlstr in db from Fields example:" `field0`, `field1`, `field2`, `field3` "
fields_map.go:284
↓ 1 callersMethodGetFieldSaveAddr
GetFieldSaveAddr get Pointers of Values in Object(struct)
fields_map.go:230
↓ 1 callersFunctionInsert
Insert
fields_map_test.go:136
↓ 1 callersFunctionQueryAll
Query all
fields_map_test.go:114
↓ 1 callersFunctionQueryByFieldOne
Query by `field_one`
fields_map_test.go:90
↓ 1 callersFunctionQueryByKey
Query by primary key (field[0])
fields_map_test.go:71
↓ 1 callersFunctionRemove
Remove by primary key (field[0])
fields_map_test.go:171
↓ 1 callersMethodSQLDeleteByPriKey
SQLDeleteByPriKey by primary key (field[0])
fields_map.go:115
↓ 1 callersMethodSQLDeleteStmt
SQLDeleteStmt generate statement for DELETE
fields_map.go:378
↓ 1 callersMethodSQLFieldsStrForSet
SQLFieldsStrForSet generate sqlstr in db from Fields for set example:" `field0` = ?, `field1` = ?, `field2` = ?, `field3` = ? "
fields_map.go:305
↓ 1 callersMethodSQLInsert
SQLInsert
fields_map.go:109
↓ 1 callersMethodSQLInsertStmt
SQLInsertStmt generate statement for INSERT
fields_map.go:354
↓ 1 callersMethodSQLSelectAllRows
SQLSelectAllRows
fields_map.go:105
↓ 1 callersMethodSQLSelectByPriKey
SQLSelectByPriKey by primary key (field[0])
fields_map.go:97
↓ 1 callersMethodSQLSelectRowsByFieldNameInDB
SQLSelectRowsByFieldNameInDB by field name in DB
fields_map.go:101
↓ 1 callersMethodSQLUpdateByPriKey
SQLUpdateByPriKey by primary key (field[0])
fields_map.go:112
↓ 1 callersMethodSQLUpdateStmt
SQLUpdateStmt generate statement for UPDATE
fields_map.go:370
↓ 1 callersFunctionUpdate
Update by primary key (field[0])
fields_map_test.go:155
MethodGetFieldNamesInDB
GetFieldNamesInDB get Names in db from Fields
fields_map.go:43
MethodGetFieldNamesInDB
GetFieldNamesInDB get Names in db from Fields example: type DemoRow struct { FieldKey string `sql:"field_key"` FieldOne string `sql:"field_one"`
fields_map.go:179
MethodGetFieldSaveAddr
GetFieldSaveAddr get Pointer of Value in Object(struct)
fields_map.go:55
MethodGetFieldValue
GetFieldValue get Value in Object(struct)
fields_map.go:49
MethodGetFieldValues
GetFieldValues get Values in Object(struct)
fields_map.go:46
MethodGetFields
GetFields Fields
fields_map.go:40
MethodGetFields
GetFields get Fields for an Object(struct)
fields_map.go:162
MethodPrepareStmt
generate statement PrepareStmt prepare statement Must Close after Stmt used
fields_map.go:72
MethodSQLDeleteByPriKey
SQLDeleteByPriKey by primary key (field[0])
fields_map.go:559
MethodSQLDeleteStmt
SQLDeleteStmt generate statement for DELETE
fields_map.go:87
MethodSQLFieldsStr
generate SQL string SQLFieldsStr generate sqlstr in db from Fields
fields_map.go:63
MethodSQLFieldsStrForSet
SQLFieldsStrForSet generate sqlstr in db from Fields for set
fields_map.go:66
MethodSQLInsert
SQLInsert
fields_map.go:520
MethodSQLInsertStmt
SQLInsertStmt generate statement for INSERT
fields_map.go:80
MethodSQLLockByPriKey
exec sql SQLLockByPriKey by primary key (field[0])
fields_map.go:93
MethodSQLLockByPriKey
exec sql SQLLockByPriKey by primary key (field[0])
fields_map.go:389
MethodSQLSelectAllRows
SQLSelectAllRows
fields_map.go:485
MethodSQLSelectByPriKey
SQLSelectByPriKey by primary key (field[0])
fields_map.go:413
MethodSQLSelectRowsByFieldNameInDB
SQLSelectRowsByFieldNameInDB by field name in DB
fields_map.go:437
MethodSQLSelectStmt
SQLSelectStmt generate statement for SELECT
fields_map.go:76
MethodSQLUpdateByPriKey
SQLUpdateByPriKey by primary key (field[0])
fields_map.go:538
MethodSQLUpdateStmt
SQLUpdateStmt generate statement for UPDATE
fields_map.go:83
FunctionTestSqlmapper
(t *testing.T)
fields_map_test.go:22