Documentation ¶
Index ¶
- func DefaultJsonModels() string
- func ModelsForTables(db *sqlx.DB, tablesString string) []*models.Model
- func MysqlConnection() *sqlx.DB
- func PostgresConnection(dbEnvVarName string) *sqlx.DB
- func PostgresConnectionByUrl(url string) *sqlx.DB
- func SaveSchema(asBytes []byte)
- func ScanSchema(dbString string) []*models.Model
- func ScanTable(db *sqlx.DB, table string) []*models.Field
- func SelectAll(db *sqlx.DB, sql string) []map[string]any
- func SqliteConnection(name string) *sqlx.DB
- type CustomDB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultJsonModels ¶
func DefaultJsonModels() string
func MysqlConnection ¶
func PostgresConnection ¶
func PostgresConnectionByUrl ¶
func SaveSchema ¶
func SaveSchema(asBytes []byte)
func ScanSchema ¶
func SqliteConnection ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.