Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aobt/sqlmapper
/ functions
Functions
50 in github.com/aobt/sqlmapper
⨍
Functions
50
◇
Types & classes
4
↓ 8 callers
Function
NewFieldsMap
NewFieldsMap new Fields
fields_map.go:121
↓ 6 callers
Method
GetFieldValue
GetFieldValue get Values in Object(struct)
fields_map.go:201
↓ 4 callers
Method
PrepareStmt
generate statement PrepareStmt prepare statement
fields_map.go:329
↓ 4 callers
Method
SQLSelectStmt
SQLSelectStmt generate statement for SELECT
fields_map.go:344
↓ 2 callers
Method
GetFieldSaveAddrs
GetFieldSaveAddrs get Pointers of Values in Object(struct)
fields_map.go:52
↓ 2 callers
Method
GetFieldSaveAddrs
GetFieldSaveAddrs get Pointers of Values in Object(struct)
fields_map.go:219
↓ 2 callers
Method
GetFieldValues
GetFieldValues get Values in Object(struct)
fields_map.go:190
↓ 2 callers
Method
MapBackToObject
MapBackToObject mapping back to the original object
fields_map.go:58
↓ 2 callers
Method
MapBackToObject
MapBackToObject mapping back to the original object
fields_map.go:248
↓ 2 callers
Method
SQLFieldsStr
generate SQL string SQLFieldsStr generate sqlstr in db from Fields example:" `field0`, `field1`, `field2`, `field3` "
fields_map.go:284
↓ 1 callers
Method
GetFieldSaveAddr
GetFieldSaveAddr get Pointers of Values in Object(struct)
fields_map.go:230
↓ 1 callers
Function
Insert
Insert
fields_map_test.go:136
↓ 1 callers
Function
QueryAll
Query all
fields_map_test.go:114
↓ 1 callers
Function
QueryByFieldOne
Query by `field_one`
fields_map_test.go:90
↓ 1 callers
Function
QueryByKey
Query by primary key (field[0])
fields_map_test.go:71
↓ 1 callers
Function
Remove
Remove by primary key (field[0])
fields_map_test.go:171
↓ 1 callers
Method
SQLDeleteByPriKey
SQLDeleteByPriKey by primary key (field[0])
fields_map.go:115
↓ 1 callers
Method
SQLDeleteStmt
SQLDeleteStmt generate statement for DELETE
fields_map.go:378
↓ 1 callers
Method
SQLFieldsStrForSet
SQLFieldsStrForSet generate sqlstr in db from Fields for set example:" `field0` = ?, `field1` = ?, `field2` = ?, `field3` = ? "
fields_map.go:305
↓ 1 callers
Method
SQLInsert
SQLInsert
fields_map.go:109
↓ 1 callers
Method
SQLInsertStmt
SQLInsertStmt generate statement for INSERT
fields_map.go:354
↓ 1 callers
Method
SQLSelectAllRows
SQLSelectAllRows
fields_map.go:105
↓ 1 callers
Method
SQLSelectByPriKey
SQLSelectByPriKey by primary key (field[0])
fields_map.go:97
↓ 1 callers
Method
SQLSelectRowsByFieldNameInDB
SQLSelectRowsByFieldNameInDB by field name in DB
fields_map.go:101
↓ 1 callers
Method
SQLUpdateByPriKey
SQLUpdateByPriKey by primary key (field[0])
fields_map.go:112
↓ 1 callers
Method
SQLUpdateStmt
SQLUpdateStmt generate statement for UPDATE
fields_map.go:370
↓ 1 callers
Function
Update
Update by primary key (field[0])
fields_map_test.go:155
Method
GetFieldNamesInDB
GetFieldNamesInDB get Names in db from Fields
fields_map.go:43
Method
GetFieldNamesInDB
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
Method
GetFieldSaveAddr
GetFieldSaveAddr get Pointer of Value in Object(struct)
fields_map.go:55
Method
GetFieldValue
GetFieldValue get Value in Object(struct)
fields_map.go:49
Method
GetFieldValues
GetFieldValues get Values in Object(struct)
fields_map.go:46
Method
GetFields
GetFields Fields
fields_map.go:40
Method
GetFields
GetFields get Fields for an Object(struct)
fields_map.go:162
Method
PrepareStmt
generate statement PrepareStmt prepare statement Must Close after Stmt used
fields_map.go:72
Method
SQLDeleteByPriKey
SQLDeleteByPriKey by primary key (field[0])
fields_map.go:559
Method
SQLDeleteStmt
SQLDeleteStmt generate statement for DELETE
fields_map.go:87
Method
SQLFieldsStr
generate SQL string SQLFieldsStr generate sqlstr in db from Fields
fields_map.go:63
Method
SQLFieldsStrForSet
SQLFieldsStrForSet generate sqlstr in db from Fields for set
fields_map.go:66
Method
SQLInsert
SQLInsert
fields_map.go:520
Method
SQLInsertStmt
SQLInsertStmt generate statement for INSERT
fields_map.go:80
Method
SQLLockByPriKey
exec sql SQLLockByPriKey by primary key (field[0])
fields_map.go:93
Method
SQLLockByPriKey
exec sql SQLLockByPriKey by primary key (field[0])
fields_map.go:389
Method
SQLSelectAllRows
SQLSelectAllRows
fields_map.go:485
Method
SQLSelectByPriKey
SQLSelectByPriKey by primary key (field[0])
fields_map.go:413
Method
SQLSelectRowsByFieldNameInDB
SQLSelectRowsByFieldNameInDB by field name in DB
fields_map.go:437
Method
SQLSelectStmt
SQLSelectStmt generate statement for SELECT
fields_map.go:76
Method
SQLUpdateByPriKey
SQLUpdateByPriKey by primary key (field[0])
fields_map.go:538
Method
SQLUpdateStmt
SQLUpdateStmt generate statement for UPDATE
fields_map.go:83
Function
TestSqlmapper
(t *testing.T)
fields_map_test.go:22