src/allographer/v2/schema_builder/models/column

Search:
Group by:

Types

Column = ref object
  name*: string
  typ*: RdbTypeKind
  isIndex*: bool
  isNullable*: bool
  isUnsigned*: bool
  isUnique*: bool
  isAutoIncrement*: bool
  isDefault*: bool
  defaultBool*: bool
  defaultInt*: int
  defaultFloat*: float
  defaultString*: string
  defaultJson*: JsonNode
  defaultDatetime*: DefaultDateTime
  foreignOnDelete*: ForeignOnDelete
  info*: JsonNode
  checksum*: string
  previousName*: string
  migrationType*: ColumnMigrationType
  usecaseType*: UsecaseType

Procs

proc add(c: Column): Column {....raises: [], tags: [], forbids: [].}
proc autoIncrement(c: Column): Column {....raises: [], tags: [], forbids: [].}
proc bigInteger(__2013266061: type Column; name: string): Column
proc binary(__2013266161: type Column; name: string): Column
proc boolean(__2013266167: type Column; name: string): Column
proc change(c: Column): Column {....raises: [], tags: [], forbids: [].}
proc char(__2013266089: type Column; name: string; maxLength: int): Column
proc date(__2013266127: type Column; name: string): Column
proc datetime(__2013266133: type Column; name: string): Column
proc decimal(__2013266067: type Column; name: string; maximum: int; digit: int): Column
proc default(c: Column): Column {....raises: [], tags: [], forbids: [].}
proc default(c: Column; value: bool): Column {....raises: [], tags: [], forbids: [].}
proc default(c: Column; value: DefaultDateTime): Column {....raises: [], tags: [],
    forbids: [].}
proc default(c: Column; value: float): Column {....raises: [], tags: [],
    forbids: [].}
proc default(c: Column; value: int): Column {....raises: [], tags: [], forbids: [].}
proc default(c: Column; value: JsonNode): Column {....raises: [], tags: [],
    forbids: [].}
proc default(c: Column; value: string): Column {....raises: [], tags: [],
    forbids: [].}
proc double(__2013266075: type Column; name: string; maximum: int; digit: int): Column
proc dropColumn(__2013266367: type Column; name: string): Column
proc enumField(__2013266173: type Column; name: string;
               options: openArray[string]): Column
proc float(__2013266083: type Column; name: string): Column
proc foreign(__2013266186: type Column; name: string): Column
proc increments(__2013266037: type Column; name: string): Column
proc index(c: Column): Column {....raises: [], tags: [], forbids: [].}
proc integer(__2013266043: type Column; name: string): Column
proc json(__2013266180: type Column; name: string): Column
proc longText(__2013266121: type Column; name: string): Column
proc mediumInteger(__2013266055: type Column; name: string): Column
proc mediumText(__2013266115: type Column; name: string): Column
proc nullable(c: Column): Column {....raises: [], tags: [], forbids: [].}
proc onDelete(self: Column; kind: ForeignOnDelete): Column {....raises: [],
    tags: [], forbids: [].}
proc onTable(self: Column; table: string): Column {....raises: [], tags: [],
    forbids: [].}
proc reference(self: Column; column: string): Column {....raises: [], tags: [],
    forbids: [].}
proc renameColumn(__2013266360: type Column; src, dest: string): Column
proc smallInteger(__2013266049: type Column; name: string): Column
proc softDelete(__2013266156: type Column): Column
proc strForeign(__2013266192: type Column; name: string; length = 255): Column
proc string(__2013266096: type Column; name: string; length = 255): Column
proc text(__2013266109: type Column; name: string): Column
proc time(__2013266139: type Column; name: string): Column
proc timestamp(__2013266145: type Column; name: string): Column
proc timestamps(__2013266151: type Column): Column
proc toSchema(self: Column): JsonNode {....raises: [], tags: [], forbids: [].}
proc unique(c: Column): Column {....raises: [], tags: [], forbids: [].}
proc unsigned(c: Column): Column {....raises: [], tags: [], forbids: [].}
proc uuid(__2013266103: type Column; name: string): Column