Documentation
¶
Index ¶
- type GremlinSchemaType
- type MysqlSchemaType
- func (s MysqlSchemaType) BigInt(m int) MysqlSchemaType
- func (s MysqlSchemaType) Binary(m int) MysqlSchemaType
- func (s MysqlSchemaType) Bit(m int) MysqlSchemaType
- func (s MysqlSchemaType) Blob(m int) MysqlSchemaType
- func (s MysqlSchemaType) Bool() MysqlSchemaType
- func (s MysqlSchemaType) Char(m int) MysqlSchemaType
- func (s MysqlSchemaType) CharSet(charset string) MysqlSchemaType
- func (s MysqlSchemaType) Collate(collate string) MysqlSchemaType
- func (s MysqlSchemaType) Date(m int, d int) MysqlSchemaType
- func (s MysqlSchemaType) DateTime(fsp int) MysqlSchemaType
- func (s MysqlSchemaType) Decimal(m int, d int) MysqlSchemaType
- func (s MysqlSchemaType) Double(m int, d int) MysqlSchemaType
- func (s MysqlSchemaType) Enum(values ...string) MysqlSchemaType
- func (s MysqlSchemaType) Float(m int, d int) MysqlSchemaType
- func (s MysqlSchemaType) Geometry() MysqlSchemaType
- func (s MysqlSchemaType) Gremlin() GremlinSchemaType
- func (s MysqlSchemaType) Int(m int) MysqlSchemaType
- func (s MysqlSchemaType) Integer(m int) MysqlSchemaType
- func (s MysqlSchemaType) JSON() MysqlSchemaType
- func (s MysqlSchemaType) LongBlob(m int) MysqlSchemaType
- func (s MysqlSchemaType) LongText(m int) MysqlSchemaType
- func (s MysqlSchemaType) MediumBlob(m int) MysqlSchemaType
- func (s MysqlSchemaType) MediumInt(m int) MysqlSchemaType
- func (s MysqlSchemaType) MediumText(m int) MysqlSchemaType
- func (s MysqlSchemaType) Numeric(m int, d int) MysqlSchemaType
- func (s MysqlSchemaType) Point() MysqlSchemaType
- func (s MysqlSchemaType) Postgres() PostgresSchemaType
- func (s MysqlSchemaType) SQLite() SQLiteSchemaType
- func (s MysqlSchemaType) Set(values ...string) MysqlSchemaType
- func (s MysqlSchemaType) SmallInt(m int) MysqlSchemaType
- func (s MysqlSchemaType) Text(m int) MysqlSchemaType
- func (s MysqlSchemaType) Time(fsp int) MysqlSchemaType
- func (s MysqlSchemaType) Timestamp(fsp int) MysqlSchemaType
- func (s MysqlSchemaType) TinyBlob(m int) MysqlSchemaType
- func (s MysqlSchemaType) TinyInt(m int) MysqlSchemaType
- func (s MysqlSchemaType) TinyText(m int) MysqlSchemaType
- func (s MysqlSchemaType) Type(v string)
- func (s MysqlSchemaType) UnSigned() MysqlSchemaType
- func (s MysqlSchemaType) VarBinary(m int) MysqlSchemaType
- func (s MysqlSchemaType) VarChar(m int) MysqlSchemaType
- func (s MysqlSchemaType) Year() MysqlSchemaType
- func (s MysqlSchemaType) ZeroFill() MysqlSchemaType
- type PostgresSchemaType
- type SQLiteSchemaType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GremlinSchemaType ¶
func (GremlinSchemaType) MYSQL ¶
func (g GremlinSchemaType) MYSQL() MysqlSchemaType
func (GremlinSchemaType) Postgres ¶
func (g GremlinSchemaType) Postgres() PostgresSchemaType
func (GremlinSchemaType) SQLite ¶
func (g GremlinSchemaType) SQLite() SQLiteSchemaType
func (GremlinSchemaType) Type ¶
func (g GremlinSchemaType) Type(typ string)
type MysqlSchemaType ¶
MysqlSchemaType is a mysql schema type builder, see https://dev.mysql.com/doc/refman/8.0/en/data-types.html for more information.
func (MysqlSchemaType) BigInt ¶
func (s MysqlSchemaType) BigInt(m int) MysqlSchemaType
func (MysqlSchemaType) Binary ¶
func (s MysqlSchemaType) Binary(m int) MysqlSchemaType
func (MysqlSchemaType) Bit ¶
func (s MysqlSchemaType) Bit(m int) MysqlSchemaType
func (MysqlSchemaType) Blob ¶
func (s MysqlSchemaType) Blob(m int) MysqlSchemaType
func (MysqlSchemaType) Bool ¶
func (s MysqlSchemaType) Bool() MysqlSchemaType
func (MysqlSchemaType) Char ¶
func (s MysqlSchemaType) Char(m int) MysqlSchemaType
func (MysqlSchemaType) CharSet ¶
func (s MysqlSchemaType) CharSet(charset string) MysqlSchemaType
func (MysqlSchemaType) Collate ¶
func (s MysqlSchemaType) Collate(collate string) MysqlSchemaType
func (MysqlSchemaType) Date ¶
func (s MysqlSchemaType) Date(m int, d int) MysqlSchemaType
func (MysqlSchemaType) DateTime ¶
func (s MysqlSchemaType) DateTime(fsp int) MysqlSchemaType
func (MysqlSchemaType) Decimal ¶
func (s MysqlSchemaType) Decimal(m int, d int) MysqlSchemaType
func (MysqlSchemaType) Double ¶
func (s MysqlSchemaType) Double(m int, d int) MysqlSchemaType
func (MysqlSchemaType) Enum ¶
func (s MysqlSchemaType) Enum(values ...string) MysqlSchemaType
func (MysqlSchemaType) Float ¶
func (s MysqlSchemaType) Float(m int, d int) MysqlSchemaType
func (MysqlSchemaType) Geometry ¶
func (s MysqlSchemaType) Geometry() MysqlSchemaType
func (MysqlSchemaType) Gremlin ¶
func (s MysqlSchemaType) Gremlin() GremlinSchemaType
func (MysqlSchemaType) Int ¶
func (s MysqlSchemaType) Int(m int) MysqlSchemaType
func (MysqlSchemaType) Integer ¶
func (s MysqlSchemaType) Integer(m int) MysqlSchemaType
func (MysqlSchemaType) JSON ¶
func (s MysqlSchemaType) JSON() MysqlSchemaType
func (MysqlSchemaType) LongBlob ¶
func (s MysqlSchemaType) LongBlob(m int) MysqlSchemaType
func (MysqlSchemaType) LongText ¶
func (s MysqlSchemaType) LongText(m int) MysqlSchemaType
func (MysqlSchemaType) MediumBlob ¶
func (s MysqlSchemaType) MediumBlob(m int) MysqlSchemaType
func (MysqlSchemaType) MediumInt ¶
func (s MysqlSchemaType) MediumInt(m int) MysqlSchemaType
func (MysqlSchemaType) MediumText ¶
func (s MysqlSchemaType) MediumText(m int) MysqlSchemaType
func (MysqlSchemaType) Numeric ¶
func (s MysqlSchemaType) Numeric(m int, d int) MysqlSchemaType
func (MysqlSchemaType) Point ¶
func (s MysqlSchemaType) Point() MysqlSchemaType
func (MysqlSchemaType) Postgres ¶
func (s MysqlSchemaType) Postgres() PostgresSchemaType
func (MysqlSchemaType) SQLite ¶
func (s MysqlSchemaType) SQLite() SQLiteSchemaType
func (MysqlSchemaType) Set ¶
func (s MysqlSchemaType) Set(values ...string) MysqlSchemaType
func (MysqlSchemaType) SmallInt ¶
func (s MysqlSchemaType) SmallInt(m int) MysqlSchemaType
func (MysqlSchemaType) Text ¶
func (s MysqlSchemaType) Text(m int) MysqlSchemaType
func (MysqlSchemaType) Time ¶
func (s MysqlSchemaType) Time(fsp int) MysqlSchemaType
func (MysqlSchemaType) Timestamp ¶
func (s MysqlSchemaType) Timestamp(fsp int) MysqlSchemaType
func (MysqlSchemaType) TinyBlob ¶
func (s MysqlSchemaType) TinyBlob(m int) MysqlSchemaType
func (MysqlSchemaType) TinyInt ¶
func (s MysqlSchemaType) TinyInt(m int) MysqlSchemaType
func (MysqlSchemaType) TinyText ¶
func (s MysqlSchemaType) TinyText(m int) MysqlSchemaType
func (MysqlSchemaType) Type ¶
func (s MysqlSchemaType) Type(v string)
func (MysqlSchemaType) UnSigned ¶
func (s MysqlSchemaType) UnSigned() MysqlSchemaType
func (MysqlSchemaType) VarBinary ¶
func (s MysqlSchemaType) VarBinary(m int) MysqlSchemaType
func (MysqlSchemaType) VarChar ¶
func (s MysqlSchemaType) VarChar(m int) MysqlSchemaType
func (MysqlSchemaType) Year ¶
func (s MysqlSchemaType) Year() MysqlSchemaType
func (MysqlSchemaType) ZeroFill ¶
func (s MysqlSchemaType) ZeroFill() MysqlSchemaType
type PostgresSchemaType ¶
func (PostgresSchemaType) Gremlin ¶
func (p PostgresSchemaType) Gremlin() GremlinSchemaType
func (PostgresSchemaType) MYSQL ¶
func (p PostgresSchemaType) MYSQL() MysqlSchemaType
func (PostgresSchemaType) SQLite ¶
func (p PostgresSchemaType) SQLite() SQLiteSchemaType
func (PostgresSchemaType) Type ¶
func (p PostgresSchemaType) Type(v string)
type SQLiteSchemaType ¶
func (SQLiteSchemaType) Gremlin ¶
func (s SQLiteSchemaType) Gremlin() GremlinSchemaType
func (SQLiteSchemaType) MYSQL ¶
func (s SQLiteSchemaType) MYSQL() MysqlSchemaType
func (SQLiteSchemaType) Postgres ¶
func (s SQLiteSchemaType) Postgres() PostgresSchemaType
func (SQLiteSchemaType) Type ¶
func (s SQLiteSchemaType) Type(v string)
Click to show internal directories.
Click to hide internal directories.