跳到主要内容
版本:Next

CreateTableParams

params

Index

Properties

optionalindexMetas

indexMetas?: { definedColumn: string[]; name: string; primaryKey: string[] }[]

reservedThroughput

reservedThroughput: { capacityUnit: { read: number; write: number } }

optionalstreamSpecification

streamSpecification?: { enableStream?: boolean; expirationTime?: number }

tableMeta

tableMeta: { definedColumn?: { name: string; type: DefinedColumnType }[]; primaryKey: { name: string; option?: AUTO_INCREMENT; type: PrimaryKeyType }[]; tableName: string }

optionaltableOptions

tableOptions?: { maxTimeDeviation?: number; maxVersions?: number; timeToLive?: number }