package
0.0.11
Repository: https://github.com/cabify/schemalex.git
Documentation: pkg.go.dev

# Functions

NewDatabase creates a new database mode with th given name.
NewIndex creates a new index with the given index kind.
No description provided by the author
NewLength creates a new Length which describes the length of a column.
NewReference creates a reference constraint.
NewTable create a new table with the given name.
NewTableColumn creates a new TableColumn with the given name.
NewTableOption creates a new table option with the given name, value, and a flag indicating if quoting is necessary.

# Constants

List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible ColumnType values.
List of possible IndexKind.
List of possible IndexKind.
List of possible IndexKind.
List of possible IndexKind.
List of possible IndexKind.
List of possible IndexKind.
List of possible IndexKind.
List of possible index types.
List of possible index types.
List of possible index types.
List of possible NullStates.
List of possible NullStates.
List of possible NullStates.
List of possible ReferenceMatch values.
List of possible ReferenceMatch values.
List of possible ReferenceMatch values.
List of possible ReferenceMatch values.
List of possible ReferenceOption values.
List of possible ReferenceOption values.
List of possible ReferenceOption values.
List of possible ReferenceOption values.
List of possible ReferenceOption values.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

ColumnContainer is the interface for objects that can contain column names.
Database represents a database definition.
Index describes an index on a table.
IndexColumn is a column name/length specification used in indexes.
Length describes the possible length constraint of a column.
Reference describes a possible reference from one table to another.
Stmt is the interface to define a statement.
Table describes a table model.
TableColumn describes a model object that describes a column definition of a table.
TableOption describes a possible table option, such as `ENGINE=InnoDB`.

# Type aliases

ColumnType describes the possible types that a column may take.
No description provided by the author
IndexKind describes the kind (purpose) of an index.
IndexType describes the type (algorithm) used by the index.
NullState describes the possible NULL constraint of a column.
ReferenceMatch describes the mathing method of a reference.
ReferenceOption describes the actions that could be taken when a table/column referered by the reference has been deleted.
Stmts describes a list of statements.