MCPcopy Create free account

hub / github.com/Isted/StreetCRUD / functions

Functions34 in github.com/Isted/StreetCRUD

↓ 10 callersFunctionLowerCaseFirstChar
(word string)
string_fns.go:56
↓ 9 callersFunctionAddQuotesIfAnyUpperCase
(dbOrSchema string)
string_fns.go:66
↓ 6 callersFunctionUpperCaseFirstChar
(word string)
string_fns.go:46
↓ 5 callersFunctionConvertToUnderscore
(camel string)
string_fns.go:10
↓ 4 callersMethodInsert
Insert User object to DB
examples/UsesGeneratedCode/models/user.go:94
↓ 4 callersFunctionTrimInnerSpacesToOne
(spacey string)
string_fns.go:76
↓ 3 callersFunctionCheckColAndTblNames
(name string)
models.go:116
↓ 2 callersFunctionBuildStringForFileWrite
(structFromFile *structToCreate, isNew bool, packageName string)
file_gen.go:54
↓ 2 callersMethodCheckStructForDeletes
()
models.go:41
↓ 1 callersFunctionBuildConnString
BuildConnString builds the connection string from file
db_gen.go:14
↓ 1 callersFunctionChangeCaseForRange
(changeMe string, startIndex int, endIndex int)
string_fns.go:111
↓ 1 callersFunctionCreateOrAlterTables
CreateOrAlterTables creates and alters tables based on the struct definition file
db_gen.go:38
↓ 1 callersMethodDelete
Delete will remove the matching row from the DB
examples/UsesGeneratedCode/models/user.go:129
↓ 1 callersMethodGetByID
Fill User object with data from DB
examples/UsesGeneratedCode/models/user.go:74
↓ 1 callersFunctionGetSafePathForSave
(filePath string)
file_gen.go:30
↓ 1 callersMethodMapGoTypeToDBTypes
()
models.go:57
↓ 1 callersMethodMapNullTypes
()
models.go:88
↓ 1 callersMethodMarkDeleted
Mark a row as deleted and at time.Time
examples/UsesGeneratedCode/models/user.go:117
↓ 1 callersMethodPatchName
Update name only
examples/UsesGeneratedCode/models/user.go:203
↓ 1 callersMethodToJSON
Convert a User object to JSON
examples/UsesGeneratedCode/models/user.go:62
↓ 1 callersMethodUpdate
Update User object in DB
examples/UsesGeneratedCode/models/user.go:107
↓ 1 callersFunctionreadFileMakeSlice
(filePath string)
file_gen.go:12
FunctionCloseUserStmts
CloseUserStmts should be called when prepared SQL statements aren't needed anymore
examples/UsesGeneratedCode/models/user.go:246
FunctionGetUsersByEmail
Get Users by email
examples/UsesGeneratedCode/models/user.go:171
FunctionGetUsersByName
Get Users by name
examples/UsesGeneratedCode/models/user.go:139
FunctionInitUserDataLayer
InitUserDataLayer prepares SQL statements and assigns the passed in DB pointer
examples/UsesGeneratedCode/models/user.go:228
FunctionNewUser
Initialize and fill a User object from the DB
examples/UsesGeneratedCode/models/user.go:30
FunctionTestCheckStructForDeletes
(t *testing.T)
models_test.go:5
FunctionTestConvertToUnderscore
(t *testing.T)
string_fns_test.go:5
FunctionTestTrimInnerSpacesToOne
(t *testing.T)
string_fns_test.go:26
FunctionUserFromJSON
Transform JSON into a User object
examples/UsesGeneratedCode/models/user.go:51
FunctionUsersToJSON
Convert multiple User objects to JSON
examples/UsesGeneratedCode/models/user.go:68
Functionmain
The start of the main program
street_crud.go:14
Functionmain
IMPORTANT NOTE: if user.go was generated w/o prepared statements, the models.InitUserDataLayer() and models.CloseUserStmts() shouldn't be called. Inst
examples/UsesGeneratedCode/main.go:28