Documentation
¶
Index ¶
- func AddColumn(db *sql.DB, plural string, col ColumnDef) error
- func CreateResourceTable(db *sql.DB, plural string, parents []ParentRef, columns []ColumnDef) error
- func DropResourceTable(db *sql.DB, plural string) error
- func Init(dbPath string) (*sql.DB, error)
- func RemoveColumns(db *sql.DB, plural string, parents []ParentRef, keepColumns []ColumnDef) error
- func SanitizeTableName(name string) string
- func SchemaTypeToSQLite(oasType, oasFormat string) string
- type ColumnDef
- type ParentRef
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateResourceTable ¶
func RemoveColumns ¶
func SanitizeTableName ¶
func SchemaTypeToSQLite ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.