Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Schema

The table schema information as a JSON object.

Properties

columns

columns: Array<Column>

The columns of a table.

Optional identity

identity: model.Identity

primaryKey

primaryKey: Array<string>

A list of column names that make up a key.

shardKey

shardKey: Array<string>

A list of column names that make up a key.

ttl

ttl: number

The default Time-to-Live for the table, in days. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Schema): object

getJsonObj

  • getJsonObj(obj: Schema): object