TableAST
Defined in: schema/ast/types.ts:26
AST node representing a table definition.
Properties
Section titled “Properties”drop:
boolean
Defined in: schema/ast/types.ts:32
Whether DROP is enabled
events
Section titled “events”events:
EventAST[]
Defined in: schema/ast/types.ts:44
Event definitions
fields
Section titled “fields”fields:
FieldAST[]
Defined in: schema/ast/types.ts:40
Field definitions
indexes
Section titled “indexes”indexes:
IndexAST[]
Defined in: schema/ast/types.ts:42
Index definitions
name:
string
Defined in: schema/ast/types.ts:28
Table name
permissions
Section titled “permissions”permissions:
PermissionsAST
Defined in: schema/ast/types.ts:38
Table-level permissions
schemafull?
Section titled “schemafull?”
optionalschemafull:boolean
Defined in: schema/ast/types.ts:34
Whether the table is SCHEMAFULL (true), SCHEMALESS (false), or unspecified (undefined)
type:
TableType
Defined in: schema/ast/types.ts:30
Table type: NORMAL, RELATION, or VIEW
viewQuery?
Section titled “viewQuery?”
optionalviewQuery:string
Defined in: schema/ast/types.ts:36
View query (for VIEW tables only)