AttachmentTable
Alpha
AttachmentTable defines the schema for the attachment queue table.
Extends
Table<typeofATTACHMENT_TABLE_COLUMNS>
Constructors
Constructor
new AttachmentTable(options?): AttachmentTable;
Alpha
Parameters
| Parameter | Type |
|---|---|
options? | AttachmentTableOptions |
Returns
AttachmentTable
Overrides
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
options | readonly | ResolvedTableOptions | Alpha | Table.options |
Accessors
columns
Get Signature
get columns(): Column[];
Alpha
Returns
Column[]
Inherited from
ignoreEmptyUpdates
Get Signature
get ignoreEmptyUpdates(): boolean;
Alpha
Returns
boolean
Inherited from
indexes
Get Signature
get indexes(): Index[];
Alpha
Returns
Index[]
Inherited from
insertOnly
Get Signature
get insertOnly(): boolean;
Alpha
Returns
boolean
Inherited from
internalName
Get Signature
get internalName(): string;
Alpha
Returns
string
Inherited from
localOnly
Get Signature
get localOnly(): boolean;
Alpha
Returns
boolean
Inherited from
name
Get Signature
get name(): string;
Alpha
Returns
string
Inherited from
trackMetadata
Get Signature
get trackMetadata(): boolean;
Alpha
Returns
boolean
Inherited from
trackPrevious
Get Signature
get trackPrevious():
| boolean
| TrackPreviousOptions;
Alpha
Returns
| boolean
| TrackPreviousOptions
Inherited from
validName
Get Signature
get validName(): boolean;
Alpha
Returns
boolean
Inherited from
viewName
Get Signature
get viewName(): string;
Alpha
Returns
string
Inherited from
viewNameOverride
Get Signature
get viewNameOverride(): string | undefined;
Alpha
Returns
string | undefined
Inherited from
Methods
copyWithName()
copyWithName(name): ResolvedTable;
Alpha
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
Inherited from
toJSON()
toJSON(): {
columns: {
name: string;
type: ColumnType | undefined;
}[];
ignore_empty_update: boolean | undefined;
include_metadata: boolean | undefined;
include_old: any;
include_old_only_when_changed: boolean;
indexes: {
columns: {
ascending: boolean | undefined;
name: string;
type: ColumnType;
}[];
name: string;
}[];
insert_only: boolean | undefined;
local_only: boolean | undefined;
name: string;
view_name: string;
};
Alpha
Returns
{
columns: {
name: string;
type: ColumnType | undefined;
}[];
ignore_empty_update: boolean | undefined;
include_metadata: boolean | undefined;
include_old: any;
include_old_only_when_changed: boolean;
indexes: {
columns: {
ascending: boolean | undefined;
name: string;
type: ColumnType;
}[];
name: string;
}[];
insert_only: boolean | undefined;
local_only: boolean | undefined;
name: string;
view_name: string;
}
| Name | Type | Default value |
|---|---|---|
columns | { name: string; type: ColumnType | undefined; }[] | - |
ignore_empty_update | boolean | undefined | options.ignoreEmptyUpdates |
include_metadata | boolean | undefined | options.trackMetadata |
include_old | any | - |
include_old_only_when_changed | boolean | - |
indexes | { columns: { ascending: boolean | undefined; name: string; type: ColumnType; }[]; name: string; }[] | - |
insert_only | boolean | undefined | options.insertOnly |
local_only | boolean | undefined | options.localOnly |
name | string | - |
view_name | string | - |
Inherited from
validate()
validate(): void;
Alpha
Returns
void
Inherited from
createInsertOnly()
static createInsertOnly<Columns>(columns, options?): Table<Columns>;
Alpha
Type Parameters
| Type Parameter | Default type |
|---|---|
Columns extends ColumnsType | ColumnsType |
Parameters
| Parameter | Type |
|---|---|
columns | Columns |
options? | TableOptions |
Returns
Table<Columns>
Inherited from
createLocalOnly()
static createLocalOnly<Columns>(columns, options?): Table<Columns>;
Alpha
Type Parameters
| Type Parameter | Default type |
|---|---|
Columns extends ColumnsType | ColumnsType |
Parameters
| Parameter | Type |
|---|---|
columns | Columns |
options? | TableOptions |
Returns
Table<Columns>