Documentation
¶
Index ¶
- type CreateBigIntColumnOption
- type CreateBigIntColumnOptions
- type CreateBooleanColumnOption
- type CreateBooleanColumnOptions
- type CreateDatetimeColumnOption
- type CreateDatetimeColumnOptions
- type CreateEmailColumnOption
- type CreateEmailColumnOptions
- type CreateEnumColumnOption
- type CreateEnumColumnOptions
- type CreateFailoverOption
- type CreateFailoverOptions
- type CreateFloatColumnOption
- type CreateFloatColumnOptions
- type CreateIndexOption
- type CreateIndexOptions
- type CreateIntegerColumnOption
- type CreateIntegerColumnOptions
- type CreateIpColumnOption
- type CreateIpColumnOptions
- type CreateLineColumnOption
- type CreateLineColumnOptions
- type CreateLongtextColumnOption
- type CreateLongtextColumnOptions
- type CreateMediumtextColumnOption
- type CreateMediumtextColumnOptions
- type CreateMigrationOption
- type CreateMigrationOptions
- type CreateOperationsOption
- type CreateOperationsOptions
- type CreateOption
- type CreateOptions
- type CreatePointColumnOption
- type CreatePointColumnOptions
- type CreatePolygonColumnOption
- type CreatePolygonColumnOptions
- type CreateRelationshipColumnOption
- type CreateRelationshipColumnOptions
- type CreateRowOption
- type CreateRowOptions
- type CreateRowsOption
- type CreateRowsOptions
- type CreateStringColumnOption
- type CreateStringColumnOptions
- type CreateTableOption
- type CreateTableOptions
- type CreateTextColumnOption
- type CreateTextColumnOptions
- type CreateTransactionOption
- type CreateTransactionOptions
- type CreateUrlColumnOption
- type CreateUrlColumnOptions
- type CreateVarcharColumnOption
- type CreateVarcharColumnOptions
- type DecrementRowColumnOption
- type DecrementRowColumnOptions
- type DeleteRowOption
- type DeleteRowOptions
- type DeleteRowsOption
- type DeleteRowsOptions
- type GetRowOption
- type GetRowOptions
- type IncrementRowColumnOption
- type IncrementRowColumnOptions
- type ListColumnsOption
- type ListColumnsOptions
- type ListIndexesOption
- type ListIndexesOptions
- type ListOperationsOption
- type ListOperationsOptions
- type ListOption
- type ListOptions
- type ListRowsOption
- type ListRowsOptions
- type ListTablesOption
- type ListTablesOptions
- type ListTransactionsOption
- type ListTransactionsOptions
- type TablesDB
- func (srv *TablesDB) Create(DatabaseId string, Name string, optionalSetters ...CreateOption) (*models.Database, error)
- func (srv *TablesDB) CreateBigIntColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnBigint, error)
- func (srv *TablesDB) CreateBooleanColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnBoolean, error)
- func (srv *TablesDB) CreateCutover(DatabaseId string, MigrationId string) (*models.DatabaseMigration, error)
- func (srv *TablesDB) CreateDatetimeColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnDatetime, error)
- func (srv *TablesDB) CreateEmailColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnEmail, error)
- func (srv *TablesDB) CreateEnumColumn(DatabaseId string, TableId string, Key string, Elements []string, ...) (*models.ColumnEnum, error)
- func (srv *TablesDB) CreateFailover(DatabaseId string, optionalSetters ...CreateFailoverOption) (*models.DedicatedDatabase, error)
- func (srv *TablesDB) CreateFloatColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnFloat, error)
- func (srv *TablesDB) CreateIndex(DatabaseId string, TableId string, Key string, Type string, Columns []string, ...) (*models.ColumnIndex, error)
- func (srv *TablesDB) CreateIntegerColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnInteger, error)
- func (srv *TablesDB) CreateIpColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnIp, error)
- func (srv *TablesDB) CreateLineColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnLine, error)
- func (srv *TablesDB) CreateLongtextColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnLongtext, error)
- func (srv *TablesDB) CreateMediumtextColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnMediumtext, error)
- func (srv *TablesDB) CreateMigration(DatabaseId string, Specification string, ...) (*models.DatabaseMigration, error)
- func (srv *TablesDB) CreateOperations(TransactionId string, optionalSetters ...CreateOperationsOption) (*models.Transaction, error)
- func (srv *TablesDB) CreatePointColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnPoint, error)
- func (srv *TablesDB) CreatePolygonColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnPolygon, error)
- func (srv *TablesDB) CreateRelationshipColumn(DatabaseId string, TableId string, RelatedTableId string, Type string, ...) (*models.ColumnRelationship, error)
- func (srv *TablesDB) CreateRow(DatabaseId string, TableId string, RowId string, Data interface{}, ...) (*models.Row, error)
- func (srv *TablesDB) CreateRows(DatabaseId string, TableId string, Rows []interface{}, ...) (*models.RowList, error)
- func (srv *TablesDB) CreateStringColumn(DatabaseId string, TableId string, Key string, Size int, Required bool, ...) (*models.ColumnString, error)deprecated
- func (srv *TablesDB) CreateTable(DatabaseId string, TableId string, Name string, ...) (*models.Table, error)
- func (srv *TablesDB) CreateTextColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnText, error)
- func (srv *TablesDB) CreateTransaction(optionalSetters ...CreateTransactionOption) (*models.Transaction, error)
- func (srv *TablesDB) CreateUrlColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnUrl, error)
- func (srv *TablesDB) CreateVarcharColumn(DatabaseId string, TableId string, Key string, Size int, Required bool, ...) (*models.ColumnVarchar, error)
- func (srv *TablesDB) DecrementRowColumn(DatabaseId string, TableId string, RowId string, Column string, ...) (*models.Row, error)
- func (srv *TablesDB) Delete(DatabaseId string) (*interface{}, error)
- func (srv *TablesDB) DeleteColumn(DatabaseId string, TableId string, Key string) (*interface{}, error)
- func (srv *TablesDB) DeleteIndex(DatabaseId string, TableId string, Key string) (*interface{}, error)
- func (srv *TablesDB) DeleteMigration(DatabaseId string, MigrationId string) (*interface{}, error)
- func (srv *TablesDB) DeleteRow(DatabaseId string, TableId string, RowId string, ...) (*interface{}, error)
- func (srv *TablesDB) DeleteRows(DatabaseId string, TableId string, optionalSetters ...DeleteRowsOption) (*models.RowList, error)
- func (srv *TablesDB) DeleteTable(DatabaseId string, TableId string) (*interface{}, error)
- func (srv *TablesDB) DeleteTransaction(TransactionId string) (*interface{}, error)
- func (srv *TablesDB) Get(DatabaseId string) (*models.Database, error)
- func (srv *TablesDB) GetColumn(DatabaseId string, TableId string, Key string) (models.Model, error)
- func (srv *TablesDB) GetIndex(DatabaseId string, TableId string, Key string) (*models.ColumnIndex, error)
- func (srv *TablesDB) GetMigration(DatabaseId string, MigrationId string) (*models.DatabaseMigration, error)
- func (srv *TablesDB) GetReplicas(DatabaseId string) (*models.DedicatedDatabaseReplicas, error)
- func (srv *TablesDB) GetRow(DatabaseId string, TableId string, RowId string, ...) (*models.Row, error)
- func (srv *TablesDB) GetStatus(DatabaseId string) (*models.DatabaseStatus, error)
- func (srv *TablesDB) GetTable(DatabaseId string, TableId string) (*models.Table, error)
- func (srv *TablesDB) GetTransaction(TransactionId string) (*models.Transaction, error)
- func (srv *TablesDB) IncrementRowColumn(DatabaseId string, TableId string, RowId string, Column string, ...) (*models.Row, error)
- func (srv *TablesDB) List(optionalSetters ...ListOption) (*models.DatabaseList, error)
- func (srv *TablesDB) ListColumns(DatabaseId string, TableId string, optionalSetters ...ListColumnsOption) (*models.ColumnList, error)
- func (srv *TablesDB) ListIndexes(DatabaseId string, TableId string, optionalSetters ...ListIndexesOption) (*models.ColumnIndexList, error)
- func (srv *TablesDB) ListMigrations(DatabaseId string) (*models.DatabaseMigrationList, error)
- func (srv *TablesDB) ListOperations(DatabaseId string, optionalSetters ...ListOperationsOption) (*models.DedicatedDatabaseOperationList, error)
- func (srv *TablesDB) ListRows(DatabaseId string, TableId string, optionalSetters ...ListRowsOption) (*models.RowList, error)
- func (srv *TablesDB) ListSpecifications() (*models.DedicatedDatabaseSpecificationList, error)
- func (srv *TablesDB) ListTables(DatabaseId string, optionalSetters ...ListTablesOption) (*models.TableList, error)
- func (srv *TablesDB) ListTransactions(optionalSetters ...ListTransactionsOption) (*models.TransactionList, error)
- func (srv *TablesDB) Update(DatabaseId string, optionalSetters ...UpdateOption) (*models.Database, error)
- func (srv *TablesDB) UpdateBigIntColumn(DatabaseId string, TableId string, Key string, Required bool, Default int, ...) (*models.ColumnBigint, error)
- func (srv *TablesDB) UpdateBooleanColumn(DatabaseId string, TableId string, Key string, Required bool, Default bool, ...) (*models.ColumnBoolean, error)
- func (srv *TablesDB) UpdateDatetimeColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, ...) (*models.ColumnDatetime, error)
- func (srv *TablesDB) UpdateEmailColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, ...) (*models.ColumnEmail, error)
- func (srv *TablesDB) UpdateEnumColumn(DatabaseId string, TableId string, Key string, Elements []string, ...) (*models.ColumnEnum, error)
- func (srv *TablesDB) UpdateFloatColumn(DatabaseId string, TableId string, Key string, Required bool, Default float64, ...) (*models.ColumnFloat, error)
- func (srv *TablesDB) UpdateIntegerColumn(DatabaseId string, TableId string, Key string, Required bool, Default int, ...) (*models.ColumnInteger, error)
- func (srv *TablesDB) UpdateIpColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, ...) (*models.ColumnIp, error)
- func (srv *TablesDB) UpdateLineColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnLine, error)
- func (srv *TablesDB) UpdateLongtextColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, ...) (*models.ColumnLongtext, error)
- func (srv *TablesDB) UpdateMediumtextColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, ...) (*models.ColumnMediumtext, error)
- func (srv *TablesDB) UpdatePointColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnPoint, error)
- func (srv *TablesDB) UpdatePolygonColumn(DatabaseId string, TableId string, Key string, Required bool, ...) (*models.ColumnPolygon, error)
- func (srv *TablesDB) UpdateRelationshipColumn(DatabaseId string, TableId string, Key string, ...) (*models.ColumnRelationship, error)
- func (srv *TablesDB) UpdateRow(DatabaseId string, TableId string, RowId string, ...) (*models.Row, error)
- func (srv *TablesDB) UpdateRows(DatabaseId string, TableId string, optionalSetters ...UpdateRowsOption) (*models.RowList, error)
- func (srv *TablesDB) UpdateStringColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, ...) (*models.ColumnString, error)deprecated
- func (srv *TablesDB) UpdateTable(DatabaseId string, TableId string, optionalSetters ...UpdateTableOption) (*models.Table, error)
- func (srv *TablesDB) UpdateTextColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, ...) (*models.ColumnText, error)
- func (srv *TablesDB) UpdateTransaction(TransactionId string, optionalSetters ...UpdateTransactionOption) (*models.Transaction, error)
- func (srv *TablesDB) UpdateUrlColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, ...) (*models.ColumnUrl, error)
- func (srv *TablesDB) UpdateVarcharColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, ...) (*models.ColumnVarchar, error)
- func (srv *TablesDB) UpsertRow(DatabaseId string, TableId string, RowId string, ...) (*models.Row, error)
- func (srv *TablesDB) UpsertRows(DatabaseId string, TableId string, Rows []interface{}, ...) (*models.RowList, error)
- func (srv *TablesDB) WithCreateBigIntColumnArray(v bool) CreateBigIntColumnOption
- func (srv *TablesDB) WithCreateBigIntColumnDefault(v int) CreateBigIntColumnOption
- func (srv *TablesDB) WithCreateBigIntColumnMax(v int) CreateBigIntColumnOption
- func (srv *TablesDB) WithCreateBigIntColumnMin(v int) CreateBigIntColumnOption
- func (srv *TablesDB) WithCreateBooleanColumnArray(v bool) CreateBooleanColumnOption
- func (srv *TablesDB) WithCreateBooleanColumnDefault(v bool) CreateBooleanColumnOption
- func (srv *TablesDB) WithCreateDatetimeColumnArray(v bool) CreateDatetimeColumnOption
- func (srv *TablesDB) WithCreateDatetimeColumnDefault(v string) CreateDatetimeColumnOption
- func (srv *TablesDB) WithCreateEmailColumnArray(v bool) CreateEmailColumnOption
- func (srv *TablesDB) WithCreateEmailColumnDefault(v string) CreateEmailColumnOption
- func (srv *TablesDB) WithCreateEnabled(v bool) CreateOption
- func (srv *TablesDB) WithCreateEnumColumnArray(v bool) CreateEnumColumnOption
- func (srv *TablesDB) WithCreateEnumColumnDefault(v string) CreateEnumColumnOption
- func (srv *TablesDB) WithCreateFailoverTargetReplicaId(v string) CreateFailoverOption
- func (srv *TablesDB) WithCreateFloatColumnArray(v bool) CreateFloatColumnOption
- func (srv *TablesDB) WithCreateFloatColumnDefault(v float64) CreateFloatColumnOption
- func (srv *TablesDB) WithCreateFloatColumnMax(v float64) CreateFloatColumnOption
- func (srv *TablesDB) WithCreateFloatColumnMin(v float64) CreateFloatColumnOption
- func (srv *TablesDB) WithCreateIndexLengths(v []int) CreateIndexOption
- func (srv *TablesDB) WithCreateIndexOrders(v []string) CreateIndexOption
- func (srv *TablesDB) WithCreateIntegerColumnArray(v bool) CreateIntegerColumnOption
- func (srv *TablesDB) WithCreateIntegerColumnDefault(v int) CreateIntegerColumnOption
- func (srv *TablesDB) WithCreateIntegerColumnMax(v int) CreateIntegerColumnOption
- func (srv *TablesDB) WithCreateIntegerColumnMin(v int) CreateIntegerColumnOption
- func (srv *TablesDB) WithCreateIpColumnArray(v bool) CreateIpColumnOption
- func (srv *TablesDB) WithCreateIpColumnDefault(v string) CreateIpColumnOption
- func (srv *TablesDB) WithCreateLineColumnDefault(v [][]interface{}) CreateLineColumnOption
- func (srv *TablesDB) WithCreateLongtextColumnArray(v bool) CreateLongtextColumnOption
- func (srv *TablesDB) WithCreateLongtextColumnDefault(v string) CreateLongtextColumnOption
- func (srv *TablesDB) WithCreateLongtextColumnEncrypt(v bool) CreateLongtextColumnOption
- func (srv *TablesDB) WithCreateMediumtextColumnArray(v bool) CreateMediumtextColumnOption
- func (srv *TablesDB) WithCreateMediumtextColumnDefault(v string) CreateMediumtextColumnOption
- func (srv *TablesDB) WithCreateMediumtextColumnEncrypt(v bool) CreateMediumtextColumnOption
- func (srv *TablesDB) WithCreateMigrationAutoCutover(v bool) CreateMigrationOption
- func (srv *TablesDB) WithCreateOperationsOperations(v []interface{}) CreateOperationsOption
- func (srv *TablesDB) WithCreatePointColumnDefault(v []float64) CreatePointColumnOption
- func (srv *TablesDB) WithCreatePolygonColumnDefault(v [][]interface{}) CreatePolygonColumnOption
- func (srv *TablesDB) WithCreateRelationshipColumnKey(v string) CreateRelationshipColumnOption
- func (srv *TablesDB) WithCreateRelationshipColumnOnDelete(v string) CreateRelationshipColumnOption
- func (srv *TablesDB) WithCreateRelationshipColumnTwoWay(v bool) CreateRelationshipColumnOption
- func (srv *TablesDB) WithCreateRelationshipColumnTwoWayKey(v string) CreateRelationshipColumnOption
- func (srv *TablesDB) WithCreateReplicas(v int) CreateOption
- func (srv *TablesDB) WithCreateRowPermissions(v []string) CreateRowOption
- func (srv *TablesDB) WithCreateRowTransactionId(v string) CreateRowOption
- func (srv *TablesDB) WithCreateRowsTransactionId(v string) CreateRowsOption
- func (srv *TablesDB) WithCreateSpecification(v string) CreateOption
- func (srv *TablesDB) WithCreateStringColumnArray(v bool) CreateStringColumnOption
- func (srv *TablesDB) WithCreateStringColumnDefault(v string) CreateStringColumnOption
- func (srv *TablesDB) WithCreateStringColumnEncrypt(v bool) CreateStringColumnOption
- func (srv *TablesDB) WithCreateSyncMode(v string) CreateOption
- func (srv *TablesDB) WithCreateTableColumns(v []interface{}) CreateTableOption
- func (srv *TablesDB) WithCreateTableEnabled(v bool) CreateTableOption
- func (srv *TablesDB) WithCreateTableIndexes(v []interface{}) CreateTableOption
- func (srv *TablesDB) WithCreateTablePermissions(v []string) CreateTableOption
- func (srv *TablesDB) WithCreateTableRowSecurity(v bool) CreateTableOption
- func (srv *TablesDB) WithCreateTextColumnArray(v bool) CreateTextColumnOption
- func (srv *TablesDB) WithCreateTextColumnDefault(v string) CreateTextColumnOption
- func (srv *TablesDB) WithCreateTextColumnEncrypt(v bool) CreateTextColumnOption
- func (srv *TablesDB) WithCreateTransactionTtl(v int) CreateTransactionOption
- func (srv *TablesDB) WithCreateUrlColumnArray(v bool) CreateUrlColumnOption
- func (srv *TablesDB) WithCreateUrlColumnDefault(v string) CreateUrlColumnOption
- func (srv *TablesDB) WithCreateVarcharColumnArray(v bool) CreateVarcharColumnOption
- func (srv *TablesDB) WithCreateVarcharColumnDefault(v string) CreateVarcharColumnOption
- func (srv *TablesDB) WithCreateVarcharColumnEncrypt(v bool) CreateVarcharColumnOption
- func (srv *TablesDB) WithDecrementRowColumnMin(v float64) DecrementRowColumnOption
- func (srv *TablesDB) WithDecrementRowColumnTransactionId(v string) DecrementRowColumnOption
- func (srv *TablesDB) WithDecrementRowColumnValue(v float64) DecrementRowColumnOption
- func (srv *TablesDB) WithDeleteRowTransactionId(v string) DeleteRowOption
- func (srv *TablesDB) WithDeleteRowsQueries(v []string) DeleteRowsOption
- func (srv *TablesDB) WithDeleteRowsTransactionId(v string) DeleteRowsOption
- func (srv *TablesDB) WithGetRowQueries(v []string) GetRowOption
- func (srv *TablesDB) WithGetRowTransactionId(v string) GetRowOption
- func (srv *TablesDB) WithIncrementRowColumnMax(v float64) IncrementRowColumnOption
- func (srv *TablesDB) WithIncrementRowColumnTransactionId(v string) IncrementRowColumnOption
- func (srv *TablesDB) WithIncrementRowColumnValue(v float64) IncrementRowColumnOption
- func (srv *TablesDB) WithListColumnsQueries(v []string) ListColumnsOption
- func (srv *TablesDB) WithListColumnsTotal(v bool) ListColumnsOption
- func (srv *TablesDB) WithListIndexesQueries(v []string) ListIndexesOption
- func (srv *TablesDB) WithListIndexesTotal(v bool) ListIndexesOption
- func (srv *TablesDB) WithListOperationsLimit(v int) ListOperationsOption
- func (srv *TablesDB) WithListOperationsOffset(v int) ListOperationsOption
- func (srv *TablesDB) WithListOperationsStatus(v string) ListOperationsOption
- func (srv *TablesDB) WithListQueries(v []string) ListOption
- func (srv *TablesDB) WithListRowsQueries(v []string) ListRowsOption
- func (srv *TablesDB) WithListRowsTotal(v bool) ListRowsOption
- func (srv *TablesDB) WithListRowsTransactionId(v string) ListRowsOption
- func (srv *TablesDB) WithListRowsTtl(v int) ListRowsOption
- func (srv *TablesDB) WithListSearch(v string) ListOption
- func (srv *TablesDB) WithListTablesQueries(v []string) ListTablesOption
- func (srv *TablesDB) WithListTablesSearch(v string) ListTablesOption
- func (srv *TablesDB) WithListTablesTotal(v bool) ListTablesOption
- func (srv *TablesDB) WithListTotal(v bool) ListOption
- func (srv *TablesDB) WithListTransactionsQueries(v []string) ListTransactionsOption
- func (srv *TablesDB) WithUpdateBigIntColumnMax(v int) UpdateBigIntColumnOption
- func (srv *TablesDB) WithUpdateBigIntColumnMin(v int) UpdateBigIntColumnOption
- func (srv *TablesDB) WithUpdateBigIntColumnNewKey(v string) UpdateBigIntColumnOption
- func (srv *TablesDB) WithUpdateBooleanColumnNewKey(v string) UpdateBooleanColumnOption
- func (srv *TablesDB) WithUpdateDatetimeColumnNewKey(v string) UpdateDatetimeColumnOption
- func (srv *TablesDB) WithUpdateEmailColumnNewKey(v string) UpdateEmailColumnOption
- func (srv *TablesDB) WithUpdateEnabled(v bool) UpdateOption
- func (srv *TablesDB) WithUpdateEnumColumnNewKey(v string) UpdateEnumColumnOption
- func (srv *TablesDB) WithUpdateFloatColumnMax(v float64) UpdateFloatColumnOption
- func (srv *TablesDB) WithUpdateFloatColumnMin(v float64) UpdateFloatColumnOption
- func (srv *TablesDB) WithUpdateFloatColumnNewKey(v string) UpdateFloatColumnOption
- func (srv *TablesDB) WithUpdateIntegerColumnMax(v int) UpdateIntegerColumnOption
- func (srv *TablesDB) WithUpdateIntegerColumnMin(v int) UpdateIntegerColumnOption
- func (srv *TablesDB) WithUpdateIntegerColumnNewKey(v string) UpdateIntegerColumnOption
- func (srv *TablesDB) WithUpdateIpColumnNewKey(v string) UpdateIpColumnOption
- func (srv *TablesDB) WithUpdateLineColumnDefault(v [][]interface{}) UpdateLineColumnOption
- func (srv *TablesDB) WithUpdateLineColumnNewKey(v string) UpdateLineColumnOption
- func (srv *TablesDB) WithUpdateLongtextColumnNewKey(v string) UpdateLongtextColumnOption
- func (srv *TablesDB) WithUpdateMediumtextColumnNewKey(v string) UpdateMediumtextColumnOption
- func (srv *TablesDB) WithUpdateName(v string) UpdateOption
- func (srv *TablesDB) WithUpdatePointColumnDefault(v []float64) UpdatePointColumnOption
- func (srv *TablesDB) WithUpdatePointColumnNewKey(v string) UpdatePointColumnOption
- func (srv *TablesDB) WithUpdatePolygonColumnDefault(v [][]interface{}) UpdatePolygonColumnOption
- func (srv *TablesDB) WithUpdatePolygonColumnNewKey(v string) UpdatePolygonColumnOption
- func (srv *TablesDB) WithUpdateRelationshipColumnNewKey(v string) UpdateRelationshipColumnOption
- func (srv *TablesDB) WithUpdateRelationshipColumnOnDelete(v string) UpdateRelationshipColumnOption
- func (srv *TablesDB) WithUpdateReplicas(v int) UpdateOption
- func (srv *TablesDB) WithUpdateRowData(v interface{}) UpdateRowOption
- func (srv *TablesDB) WithUpdateRowPermissions(v []string) UpdateRowOption
- func (srv *TablesDB) WithUpdateRowTransactionId(v string) UpdateRowOption
- func (srv *TablesDB) WithUpdateRowsData(v interface{}) UpdateRowsOption
- func (srv *TablesDB) WithUpdateRowsQueries(v []string) UpdateRowsOption
- func (srv *TablesDB) WithUpdateRowsTransactionId(v string) UpdateRowsOption
- func (srv *TablesDB) WithUpdateSpecification(v string) UpdateOption
- func (srv *TablesDB) WithUpdateStringColumnNewKey(v string) UpdateStringColumnOption
- func (srv *TablesDB) WithUpdateStringColumnSize(v int) UpdateStringColumnOption
- func (srv *TablesDB) WithUpdateSyncMode(v string) UpdateOption
- func (srv *TablesDB) WithUpdateTableEnabled(v bool) UpdateTableOption
- func (srv *TablesDB) WithUpdateTableName(v string) UpdateTableOption
- func (srv *TablesDB) WithUpdateTablePermissions(v []string) UpdateTableOption
- func (srv *TablesDB) WithUpdateTablePurge(v bool) UpdateTableOption
- func (srv *TablesDB) WithUpdateTableRowSecurity(v bool) UpdateTableOption
- func (srv *TablesDB) WithUpdateTextColumnNewKey(v string) UpdateTextColumnOption
- func (srv *TablesDB) WithUpdateTransactionCommit(v bool) UpdateTransactionOption
- func (srv *TablesDB) WithUpdateTransactionRollback(v bool) UpdateTransactionOption
- func (srv *TablesDB) WithUpdateUrlColumnNewKey(v string) UpdateUrlColumnOption
- func (srv *TablesDB) WithUpdateVarcharColumnNewKey(v string) UpdateVarcharColumnOption
- func (srv *TablesDB) WithUpdateVarcharColumnSize(v int) UpdateVarcharColumnOption
- func (srv *TablesDB) WithUpsertRowData(v interface{}) UpsertRowOption
- func (srv *TablesDB) WithUpsertRowPermissions(v []string) UpsertRowOption
- func (srv *TablesDB) WithUpsertRowTransactionId(v string) UpsertRowOption
- func (srv *TablesDB) WithUpsertRowsTransactionId(v string) UpsertRowsOption
- type UpdateBigIntColumnOption
- type UpdateBigIntColumnOptions
- type UpdateBooleanColumnOption
- type UpdateBooleanColumnOptions
- type UpdateDatetimeColumnOption
- type UpdateDatetimeColumnOptions
- type UpdateEmailColumnOption
- type UpdateEmailColumnOptions
- type UpdateEnumColumnOption
- type UpdateEnumColumnOptions
- type UpdateFloatColumnOption
- type UpdateFloatColumnOptions
- type UpdateIntegerColumnOption
- type UpdateIntegerColumnOptions
- type UpdateIpColumnOption
- type UpdateIpColumnOptions
- type UpdateLineColumnOption
- type UpdateLineColumnOptions
- type UpdateLongtextColumnOption
- type UpdateLongtextColumnOptions
- type UpdateMediumtextColumnOption
- type UpdateMediumtextColumnOptions
- type UpdateOption
- type UpdateOptions
- type UpdatePointColumnOption
- type UpdatePointColumnOptions
- type UpdatePolygonColumnOption
- type UpdatePolygonColumnOptions
- type UpdateRelationshipColumnOption
- type UpdateRelationshipColumnOptions
- type UpdateRowOption
- type UpdateRowOptions
- type UpdateRowsOption
- type UpdateRowsOptions
- type UpdateStringColumnOption
- type UpdateStringColumnOptions
- type UpdateTableOption
- type UpdateTableOptions
- type UpdateTextColumnOption
- type UpdateTextColumnOptions
- type UpdateTransactionOption
- type UpdateTransactionOptions
- type UpdateUrlColumnOption
- type UpdateUrlColumnOptions
- type UpdateVarcharColumnOption
- type UpdateVarcharColumnOptions
- type UpsertRowOption
- type UpsertRowOptions
- type UpsertRowsOption
- type UpsertRowsOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateBigIntColumnOption ¶
type CreateBigIntColumnOption func(*CreateBigIntColumnOptions)
type CreateBigIntColumnOptions ¶
type CreateBigIntColumnOptions struct {
Min int
Max int
Default int
Array bool
// contains filtered or unexported fields
}
func (CreateBigIntColumnOptions) New ¶
func (options CreateBigIntColumnOptions) New() *CreateBigIntColumnOptions
type CreateBooleanColumnOption ¶
type CreateBooleanColumnOption func(*CreateBooleanColumnOptions)
type CreateBooleanColumnOptions ¶
type CreateBooleanColumnOptions struct {
Default bool
Array bool
// contains filtered or unexported fields
}
func (CreateBooleanColumnOptions) New ¶
func (options CreateBooleanColumnOptions) New() *CreateBooleanColumnOptions
type CreateDatetimeColumnOption ¶
type CreateDatetimeColumnOption func(*CreateDatetimeColumnOptions)
type CreateDatetimeColumnOptions ¶
type CreateDatetimeColumnOptions struct {
Default string
Array bool
// contains filtered or unexported fields
}
func (CreateDatetimeColumnOptions) New ¶
func (options CreateDatetimeColumnOptions) New() *CreateDatetimeColumnOptions
type CreateEmailColumnOption ¶
type CreateEmailColumnOption func(*CreateEmailColumnOptions)
type CreateEmailColumnOptions ¶
type CreateEmailColumnOptions struct {
Default string
Array bool
// contains filtered or unexported fields
}
func (CreateEmailColumnOptions) New ¶
func (options CreateEmailColumnOptions) New() *CreateEmailColumnOptions
type CreateEnumColumnOption ¶
type CreateEnumColumnOption func(*CreateEnumColumnOptions)
type CreateEnumColumnOptions ¶
type CreateEnumColumnOptions struct {
Default string
Array bool
// contains filtered or unexported fields
}
func (CreateEnumColumnOptions) New ¶
func (options CreateEnumColumnOptions) New() *CreateEnumColumnOptions
type CreateFailoverOption ¶
type CreateFailoverOption func(*CreateFailoverOptions)
type CreateFailoverOptions ¶
type CreateFailoverOptions struct {
TargetReplicaId string
// contains filtered or unexported fields
}
func (CreateFailoverOptions) New ¶
func (options CreateFailoverOptions) New() *CreateFailoverOptions
type CreateFloatColumnOption ¶
type CreateFloatColumnOption func(*CreateFloatColumnOptions)
type CreateFloatColumnOptions ¶
type CreateFloatColumnOptions struct {
Min float64
Max float64
Default float64
Array bool
// contains filtered or unexported fields
}
func (CreateFloatColumnOptions) New ¶
func (options CreateFloatColumnOptions) New() *CreateFloatColumnOptions
type CreateIndexOption ¶
type CreateIndexOption func(*CreateIndexOptions)
type CreateIndexOptions ¶
type CreateIndexOptions struct {
Orders []string
Lengths []int
// contains filtered or unexported fields
}
func (CreateIndexOptions) New ¶
func (options CreateIndexOptions) New() *CreateIndexOptions
type CreateIntegerColumnOption ¶
type CreateIntegerColumnOption func(*CreateIntegerColumnOptions)
type CreateIntegerColumnOptions ¶
type CreateIntegerColumnOptions struct {
Min int
Max int
Default int
Array bool
// contains filtered or unexported fields
}
func (CreateIntegerColumnOptions) New ¶
func (options CreateIntegerColumnOptions) New() *CreateIntegerColumnOptions
type CreateIpColumnOption ¶
type CreateIpColumnOption func(*CreateIpColumnOptions)
type CreateIpColumnOptions ¶
type CreateIpColumnOptions struct {
Default string
Array bool
// contains filtered or unexported fields
}
func (CreateIpColumnOptions) New ¶
func (options CreateIpColumnOptions) New() *CreateIpColumnOptions
type CreateLineColumnOption ¶
type CreateLineColumnOption func(*CreateLineColumnOptions)
type CreateLineColumnOptions ¶
type CreateLineColumnOptions struct {
Default [][]interface{}
// contains filtered or unexported fields
}
func (CreateLineColumnOptions) New ¶
func (options CreateLineColumnOptions) New() *CreateLineColumnOptions
type CreateLongtextColumnOption ¶
type CreateLongtextColumnOption func(*CreateLongtextColumnOptions)
type CreateLongtextColumnOptions ¶
type CreateLongtextColumnOptions struct {
Default string
Array bool
Encrypt bool
// contains filtered or unexported fields
}
func (CreateLongtextColumnOptions) New ¶
func (options CreateLongtextColumnOptions) New() *CreateLongtextColumnOptions
type CreateMediumtextColumnOption ¶
type CreateMediumtextColumnOption func(*CreateMediumtextColumnOptions)
type CreateMediumtextColumnOptions ¶
type CreateMediumtextColumnOptions struct {
Default string
Array bool
Encrypt bool
// contains filtered or unexported fields
}
func (CreateMediumtextColumnOptions) New ¶
func (options CreateMediumtextColumnOptions) New() *CreateMediumtextColumnOptions
type CreateMigrationOption ¶
type CreateMigrationOption func(*CreateMigrationOptions)
type CreateMigrationOptions ¶
type CreateMigrationOptions struct {
AutoCutover bool
// contains filtered or unexported fields
}
func (CreateMigrationOptions) New ¶
func (options CreateMigrationOptions) New() *CreateMigrationOptions
type CreateOperationsOption ¶
type CreateOperationsOption func(*CreateOperationsOptions)
type CreateOperationsOptions ¶
type CreateOperationsOptions struct {
Operations []interface{}
// contains filtered or unexported fields
}
func (CreateOperationsOptions) New ¶
func (options CreateOperationsOptions) New() *CreateOperationsOptions
type CreateOption ¶
type CreateOption func(*CreateOptions)
type CreateOptions ¶
type CreateOptions struct {
Enabled bool
Specification string
Replicas int
SyncMode string
// contains filtered or unexported fields
}
func (CreateOptions) New ¶
func (options CreateOptions) New() *CreateOptions
type CreatePointColumnOption ¶
type CreatePointColumnOption func(*CreatePointColumnOptions)
type CreatePointColumnOptions ¶
type CreatePointColumnOptions struct {
Default []float64
// contains filtered or unexported fields
}
func (CreatePointColumnOptions) New ¶
func (options CreatePointColumnOptions) New() *CreatePointColumnOptions
type CreatePolygonColumnOption ¶
type CreatePolygonColumnOption func(*CreatePolygonColumnOptions)
type CreatePolygonColumnOptions ¶
type CreatePolygonColumnOptions struct {
Default [][]interface{}
// contains filtered or unexported fields
}
func (CreatePolygonColumnOptions) New ¶
func (options CreatePolygonColumnOptions) New() *CreatePolygonColumnOptions
type CreateRelationshipColumnOption ¶
type CreateRelationshipColumnOption func(*CreateRelationshipColumnOptions)
type CreateRelationshipColumnOptions ¶
type CreateRelationshipColumnOptions struct {
TwoWay bool
Key string
TwoWayKey string
OnDelete string
// contains filtered or unexported fields
}
func (CreateRelationshipColumnOptions) New ¶
func (options CreateRelationshipColumnOptions) New() *CreateRelationshipColumnOptions
type CreateRowOption ¶
type CreateRowOption func(*CreateRowOptions)
type CreateRowOptions ¶
type CreateRowOptions struct {
Permissions []string
TransactionId string
// contains filtered or unexported fields
}
func (CreateRowOptions) New ¶
func (options CreateRowOptions) New() *CreateRowOptions
type CreateRowsOption ¶
type CreateRowsOption func(*CreateRowsOptions)
type CreateRowsOptions ¶
type CreateRowsOptions struct {
TransactionId string
// contains filtered or unexported fields
}
func (CreateRowsOptions) New ¶
func (options CreateRowsOptions) New() *CreateRowsOptions
type CreateStringColumnOption ¶
type CreateStringColumnOption func(*CreateStringColumnOptions)
type CreateStringColumnOptions ¶
type CreateStringColumnOptions struct {
Default string
Array bool
Encrypt bool
// contains filtered or unexported fields
}
func (CreateStringColumnOptions) New ¶
func (options CreateStringColumnOptions) New() *CreateStringColumnOptions
type CreateTableOption ¶
type CreateTableOption func(*CreateTableOptions)
type CreateTableOptions ¶
type CreateTableOptions struct {
Permissions []string
RowSecurity bool
Enabled bool
Columns []interface{}
Indexes []interface{}
// contains filtered or unexported fields
}
func (CreateTableOptions) New ¶
func (options CreateTableOptions) New() *CreateTableOptions
type CreateTextColumnOption ¶
type CreateTextColumnOption func(*CreateTextColumnOptions)
type CreateTextColumnOptions ¶
type CreateTextColumnOptions struct {
Default string
Array bool
Encrypt bool
// contains filtered or unexported fields
}
func (CreateTextColumnOptions) New ¶
func (options CreateTextColumnOptions) New() *CreateTextColumnOptions
type CreateTransactionOption ¶
type CreateTransactionOption func(*CreateTransactionOptions)
type CreateTransactionOptions ¶
type CreateTransactionOptions struct {
Ttl int
// contains filtered or unexported fields
}
func (CreateTransactionOptions) New ¶
func (options CreateTransactionOptions) New() *CreateTransactionOptions
type CreateUrlColumnOption ¶
type CreateUrlColumnOption func(*CreateUrlColumnOptions)
type CreateUrlColumnOptions ¶
type CreateUrlColumnOptions struct {
Default string
Array bool
// contains filtered or unexported fields
}
func (CreateUrlColumnOptions) New ¶
func (options CreateUrlColumnOptions) New() *CreateUrlColumnOptions
type CreateVarcharColumnOption ¶
type CreateVarcharColumnOption func(*CreateVarcharColumnOptions)
type CreateVarcharColumnOptions ¶
type CreateVarcharColumnOptions struct {
Default string
Array bool
Encrypt bool
// contains filtered or unexported fields
}
func (CreateVarcharColumnOptions) New ¶
func (options CreateVarcharColumnOptions) New() *CreateVarcharColumnOptions
type DecrementRowColumnOption ¶
type DecrementRowColumnOption func(*DecrementRowColumnOptions)
type DecrementRowColumnOptions ¶
type DecrementRowColumnOptions struct {
Value float64
Min float64
TransactionId string
// contains filtered or unexported fields
}
func (DecrementRowColumnOptions) New ¶
func (options DecrementRowColumnOptions) New() *DecrementRowColumnOptions
type DeleteRowOption ¶
type DeleteRowOption func(*DeleteRowOptions)
type DeleteRowOptions ¶
type DeleteRowOptions struct {
TransactionId string
// contains filtered or unexported fields
}
func (DeleteRowOptions) New ¶
func (options DeleteRowOptions) New() *DeleteRowOptions
type DeleteRowsOption ¶
type DeleteRowsOption func(*DeleteRowsOptions)
type DeleteRowsOptions ¶
type DeleteRowsOptions struct {
Queries []string
TransactionId string
// contains filtered or unexported fields
}
func (DeleteRowsOptions) New ¶
func (options DeleteRowsOptions) New() *DeleteRowsOptions
type GetRowOption ¶
type GetRowOption func(*GetRowOptions)
type GetRowOptions ¶
type GetRowOptions struct {
Queries []string
TransactionId string
// contains filtered or unexported fields
}
func (GetRowOptions) New ¶
func (options GetRowOptions) New() *GetRowOptions
type IncrementRowColumnOption ¶
type IncrementRowColumnOption func(*IncrementRowColumnOptions)
type IncrementRowColumnOptions ¶
type IncrementRowColumnOptions struct {
Value float64
Max float64
TransactionId string
// contains filtered or unexported fields
}
func (IncrementRowColumnOptions) New ¶
func (options IncrementRowColumnOptions) New() *IncrementRowColumnOptions
type ListColumnsOption ¶
type ListColumnsOption func(*ListColumnsOptions)
type ListColumnsOptions ¶
type ListColumnsOptions struct {
Queries []string
Total bool
// contains filtered or unexported fields
}
func (ListColumnsOptions) New ¶
func (options ListColumnsOptions) New() *ListColumnsOptions
type ListIndexesOption ¶
type ListIndexesOption func(*ListIndexesOptions)
type ListIndexesOptions ¶
type ListIndexesOptions struct {
Queries []string
Total bool
// contains filtered or unexported fields
}
func (ListIndexesOptions) New ¶
func (options ListIndexesOptions) New() *ListIndexesOptions
type ListOperationsOption ¶
type ListOperationsOption func(*ListOperationsOptions)
type ListOperationsOptions ¶
type ListOperationsOptions struct {
Status string
Limit int
Offset int
// contains filtered or unexported fields
}
func (ListOperationsOptions) New ¶
func (options ListOperationsOptions) New() *ListOperationsOptions
type ListOption ¶
type ListOption func(*ListOptions)
type ListOptions ¶
type ListOptions struct {
Queries []string
Search string
Total bool
// contains filtered or unexported fields
}
func (ListOptions) New ¶
func (options ListOptions) New() *ListOptions
type ListRowsOption ¶
type ListRowsOption func(*ListRowsOptions)
type ListRowsOptions ¶
type ListRowsOptions struct {
Queries []string
TransactionId string
Total bool
Ttl int
// contains filtered or unexported fields
}
func (ListRowsOptions) New ¶
func (options ListRowsOptions) New() *ListRowsOptions
type ListTablesOption ¶
type ListTablesOption func(*ListTablesOptions)
type ListTablesOptions ¶
type ListTablesOptions struct {
Queries []string
Search string
Total bool
// contains filtered or unexported fields
}
func (ListTablesOptions) New ¶
func (options ListTablesOptions) New() *ListTablesOptions
type ListTransactionsOption ¶
type ListTransactionsOption func(*ListTransactionsOptions)
type ListTransactionsOptions ¶
type ListTransactionsOptions struct {
Queries []string
// contains filtered or unexported fields
}
func (ListTransactionsOptions) New ¶
func (options ListTransactionsOptions) New() *ListTransactionsOptions
type TablesDB ¶
type TablesDB struct {
// contains filtered or unexported fields
}
TablesDB service
func (*TablesDB) Create ¶
func (srv *TablesDB) Create(DatabaseId string, Name string, optionalSetters ...CreateOption) (*models.Database, error)
Create create a new Database.
func (*TablesDB) CreateBigIntColumn ¶
func (srv *TablesDB) CreateBigIntColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreateBigIntColumnOption) (*models.ColumnBigint, error)
CreateBigIntColumn create a bigint column. Optionally, minimum and maximum values can be provided.
func (*TablesDB) CreateBooleanColumn ¶
func (srv *TablesDB) CreateBooleanColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreateBooleanColumnOption) (*models.ColumnBoolean, error)
CreateBooleanColumn create a boolean column.
func (*TablesDB) CreateCutover ¶ added in v7.2.0
func (srv *TablesDB) CreateCutover(DatabaseId string, MigrationId string) (*models.DatabaseMigration, error)
CreateCutover cut a verified TablesDB migration over to its dedicated compute. Only applies to a migration created with `autoCutover` disabled, which waits at `ready_to_cutover` until this is called. The routing flip happens shortly after this returns, with a brief read-only window. One call buys one attempt: a cutover that fails a check returns the migration to `verifying` and parks it again, so call this once more to retry.
func (*TablesDB) CreateDatetimeColumn ¶
func (srv *TablesDB) CreateDatetimeColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreateDatetimeColumnOption) (*models.ColumnDatetime, error)
CreateDatetimeColumn create a date time column according to the ISO 8601 standard.
func (*TablesDB) CreateEmailColumn ¶
func (srv *TablesDB) CreateEmailColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreateEmailColumnOption) (*models.ColumnEmail, error)
CreateEmailColumn create an email column.
func (*TablesDB) CreateEnumColumn ¶
func (srv *TablesDB) CreateEnumColumn(DatabaseId string, TableId string, Key string, Elements []string, Required bool, optionalSetters ...CreateEnumColumnOption) (*models.ColumnEnum, error)
CreateEnumColumn create an enumeration column. The `elements` param acts as a white-list of accepted values for this column.
func (*TablesDB) CreateFailover ¶
func (srv *TablesDB) CreateFailover(DatabaseId string, optionalSetters ...CreateFailoverOption) (*models.DedicatedDatabase, error)
CreateFailover trigger a manual failover for a dedicated database with high availability enabled. Promotes a replica to primary. The failover runs asynchronously; poll the database document for status updates. A database left mid-operation also accepts this call as a repair once nothing is driving the operation it is stuck in. Repairing a failover that did not finish, a `failed` database, a stranded upgrade or migrate, or a stranded compute resize additionally requires `targetReplicaId` to name the member to promote, because the default target may be the member that operation already promoted.
func (*TablesDB) CreateFloatColumn ¶
func (srv *TablesDB) CreateFloatColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreateFloatColumnOption) (*models.ColumnFloat, error)
CreateFloatColumn create a float column. Optionally, minimum and maximum values can be provided.
func (*TablesDB) CreateIndex ¶
func (srv *TablesDB) CreateIndex(DatabaseId string, TableId string, Key string, Type string, Columns []string, optionalSetters ...CreateIndexOption) (*models.ColumnIndex, error)
CreateIndex creates an index on the columns listed. Your index should include all the columns you will query in a single request. Type can be `key`, `fulltext`, or `unique`.
func (*TablesDB) CreateIntegerColumn ¶
func (srv *TablesDB) CreateIntegerColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreateIntegerColumnOption) (*models.ColumnInteger, error)
CreateIntegerColumn create an integer column. Optionally, minimum and maximum values can be provided.
func (*TablesDB) CreateIpColumn ¶
func (srv *TablesDB) CreateIpColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreateIpColumnOption) (*models.ColumnIp, error)
CreateIpColumn create IP address column.
func (*TablesDB) CreateLineColumn ¶
func (srv *TablesDB) CreateLineColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreateLineColumnOption) (*models.ColumnLine, error)
CreateLineColumn create a geometric line column.
func (*TablesDB) CreateLongtextColumn ¶
func (srv *TablesDB) CreateLongtextColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreateLongtextColumnOption) (*models.ColumnLongtext, error)
CreateLongtextColumn create a longtext column.
func (*TablesDB) CreateMediumtextColumn ¶
func (srv *TablesDB) CreateMediumtextColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreateMediumtextColumnOption) (*models.ColumnMediumtext, error)
CreateMediumtextColumn create a mediumtext column.
func (*TablesDB) CreateMigration ¶
func (srv *TablesDB) CreateMigration(DatabaseId string, Specification string, optionalSetters ...CreateMigrationOption) (*models.DatabaseMigration, error)
CreateMigration start migrating a serverless TablesDB database onto a dedicated MySQL compute. Data is copied to the target while the source stays live, with a brief read-only window during cutover.
func (*TablesDB) CreateOperations ¶
func (srv *TablesDB) CreateOperations(TransactionId string, optionalSetters ...CreateOperationsOption) (*models.Transaction, error)
CreateOperations create multiple operations in a single transaction.
func (*TablesDB) CreatePointColumn ¶
func (srv *TablesDB) CreatePointColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreatePointColumnOption) (*models.ColumnPoint, error)
CreatePointColumn create a geometric point column.
func (*TablesDB) CreatePolygonColumn ¶
func (srv *TablesDB) CreatePolygonColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreatePolygonColumnOption) (*models.ColumnPolygon, error)
CreatePolygonColumn create a geometric polygon column.
func (*TablesDB) CreateRelationshipColumn ¶
func (srv *TablesDB) CreateRelationshipColumn(DatabaseId string, TableId string, RelatedTableId string, Type string, optionalSetters ...CreateRelationshipColumnOption) (*models.ColumnRelationship, error)
CreateRelationshipColumn create relationship column. [Learn more about relationship columns](https://appwrite.io/docs/databases-relationships#relationship-columns).
func (*TablesDB) CreateRow ¶
func (srv *TablesDB) CreateRow(DatabaseId string, TableId string, RowId string, Data interface{}, optionalSetters ...CreateRowOption) (*models.Row, error)
CreateRow create a new Row. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) API or directly from your database console.
func (*TablesDB) CreateRows ¶
func (srv *TablesDB) CreateRows(DatabaseId string, TableId string, Rows []interface{}, optionalSetters ...CreateRowsOption) (*models.RowList, error)
CreateRows create new Rows. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) API or directly from your database console.
func (*TablesDB) CreateStringColumn
deprecated
func (srv *TablesDB) CreateStringColumn(DatabaseId string, TableId string, Key string, Size int, Required bool, optionalSetters ...CreateStringColumnOption) (*models.ColumnString, error)
CreateStringColumn create a string column.
Deprecated: This API has been deprecated since 1.9.0. Please use `TablesDB.createTextColumn` instead.
func (*TablesDB) CreateTable ¶
func (srv *TablesDB) CreateTable(DatabaseId string, TableId string, Name string, optionalSetters ...CreateTableOption) (*models.Table, error)
CreateTable create a new Table. Before using this route, you should create a new database resource using either a [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) API or directly from your database console.
func (*TablesDB) CreateTextColumn ¶
func (srv *TablesDB) CreateTextColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreateTextColumnOption) (*models.ColumnText, error)
CreateTextColumn create a text column.
func (*TablesDB) CreateTransaction ¶
func (srv *TablesDB) CreateTransaction(optionalSetters ...CreateTransactionOption) (*models.Transaction, error)
CreateTransaction create a new transaction.
func (*TablesDB) CreateUrlColumn ¶
func (srv *TablesDB) CreateUrlColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...CreateUrlColumnOption) (*models.ColumnUrl, error)
CreateUrlColumn create a URL column.
func (*TablesDB) CreateVarcharColumn ¶
func (srv *TablesDB) CreateVarcharColumn(DatabaseId string, TableId string, Key string, Size int, Required bool, optionalSetters ...CreateVarcharColumnOption) (*models.ColumnVarchar, error)
CreateVarcharColumn create a varchar column.
func (*TablesDB) DecrementRowColumn ¶
func (srv *TablesDB) DecrementRowColumn(DatabaseId string, TableId string, RowId string, Column string, optionalSetters ...DecrementRowColumnOption) (*models.Row, error)
DecrementRowColumn decrement a specific column of a row by a given value.
func (*TablesDB) Delete ¶
Delete delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.
func (*TablesDB) DeleteColumn ¶
func (srv *TablesDB) DeleteColumn(DatabaseId string, TableId string, Key string) (*interface{}, error)
DeleteColumn deletes a column.
func (*TablesDB) DeleteIndex ¶
func (srv *TablesDB) DeleteIndex(DatabaseId string, TableId string, Key string) (*interface{}, error)
DeleteIndex delete an index.
func (*TablesDB) DeleteMigration ¶
DeleteMigration abort an in-flight TablesDB dedicated migration. Only allowed before cutover; once the migration has cut over it cannot be aborted.
func (*TablesDB) DeleteRow ¶
func (srv *TablesDB) DeleteRow(DatabaseId string, TableId string, RowId string, optionalSetters ...DeleteRowOption) (*interface{}, error)
DeleteRow delete a row by its unique ID.
func (*TablesDB) DeleteRows ¶
func (srv *TablesDB) DeleteRows(DatabaseId string, TableId string, optionalSetters ...DeleteRowsOption) (*models.RowList, error)
DeleteRows bulk delete rows using queries, if no queries are passed then all rows are deleted.
func (*TablesDB) DeleteTable ¶
DeleteTable delete a table by its unique ID. Only users with write permissions have access to delete this resource.
func (*TablesDB) DeleteTransaction ¶
DeleteTransaction delete a transaction by its unique ID.
func (*TablesDB) Get ¶
Get get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.
func (*TablesDB) GetIndex ¶
func (srv *TablesDB) GetIndex(DatabaseId string, TableId string, Key string) (*models.ColumnIndex, error)
GetIndex get index by ID.
func (*TablesDB) GetMigration ¶
func (srv *TablesDB) GetMigration(DatabaseId string, MigrationId string) (*models.DatabaseMigration, error)
GetMigration get a single dedicated migration for a TablesDB database by its ID.
func (*TablesDB) GetReplicas ¶
func (srv *TablesDB) GetReplicas(DatabaseId string) (*models.DedicatedDatabaseReplicas, error)
GetReplicas get high availability status for a dedicated database. Returns replica statuses, replication lag, and sync mode.
func (*TablesDB) GetRow ¶
func (srv *TablesDB) GetRow(DatabaseId string, TableId string, RowId string, optionalSetters ...GetRowOption) (*models.Row, error)
GetRow get a row by its unique ID. This endpoint response returns a JSON object with the row data.
func (*TablesDB) GetStatus ¶
func (srv *TablesDB) GetStatus(DatabaseId string) (*models.DatabaseStatus, error)
GetStatus get real-time health and status information for a dedicated database. Returns health status, readiness, uptime, connection info, replica status, and volume information.
func (*TablesDB) GetTable ¶
GetTable get a table by its unique ID. This endpoint response returns a JSON object with the table metadata.
func (*TablesDB) GetTransaction ¶
func (srv *TablesDB) GetTransaction(TransactionId string) (*models.Transaction, error)
GetTransaction get a transaction by its unique ID.
func (*TablesDB) IncrementRowColumn ¶
func (srv *TablesDB) IncrementRowColumn(DatabaseId string, TableId string, RowId string, Column string, optionalSetters ...IncrementRowColumnOption) (*models.Row, error)
IncrementRowColumn increment a specific column of a row by a given value.
func (*TablesDB) List ¶
func (srv *TablesDB) List(optionalSetters ...ListOption) (*models.DatabaseList, error)
List get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.
func (*TablesDB) ListColumns ¶
func (srv *TablesDB) ListColumns(DatabaseId string, TableId string, optionalSetters ...ListColumnsOption) (*models.ColumnList, error)
ListColumns list columns in the table.
func (*TablesDB) ListIndexes ¶
func (srv *TablesDB) ListIndexes(DatabaseId string, TableId string, optionalSetters ...ListIndexesOption) (*models.ColumnIndexList, error)
ListIndexes list indexes on the table.
func (*TablesDB) ListMigrations ¶
func (srv *TablesDB) ListMigrations(DatabaseId string) (*models.DatabaseMigrationList, error)
ListMigrations list the dedicated migrations for a TablesDB database. A database has at most one in-flight migration.
func (*TablesDB) ListOperations ¶
func (srv *TablesDB) ListOperations(DatabaseId string, optionalSetters ...ListOperationsOption) (*models.DedicatedDatabaseOperationList, error)
ListOperations list the lifecycle operations recorded for a dedicated database, newest first. Every provision, update, restore, backup and replication action is recorded here with its outcome, including an attempt that was abandoned because another worker took over the database.
func (*TablesDB) ListRows ¶
func (srv *TablesDB) ListRows(DatabaseId string, TableId string, optionalSetters ...ListRowsOption) (*models.RowList, error)
ListRows get a list of all the user's rows in a given table. You can use the query params to filter your results.
func (*TablesDB) ListSpecifications ¶
func (srv *TablesDB) ListSpecifications() (*models.DedicatedDatabaseSpecificationList, error)
ListSpecifications list the dedicated database specifications available on the current plan. Each specification reports its resource limits, pricing, and whether it is enabled for the organization.
func (*TablesDB) ListTables ¶
func (srv *TablesDB) ListTables(DatabaseId string, optionalSetters ...ListTablesOption) (*models.TableList, error)
ListTables get a list of all tables that belong to the provided databaseId. You can use the search parameter to filter your results.
func (*TablesDB) ListTransactions ¶
func (srv *TablesDB) ListTransactions(optionalSetters ...ListTransactionsOption) (*models.TransactionList, error)
ListTransactions list transactions across all databases.
func (*TablesDB) Update ¶
func (srv *TablesDB) Update(DatabaseId string, optionalSetters ...UpdateOption) (*models.Database, error)
Update update a database by its unique ID.
func (*TablesDB) UpdateBigIntColumn ¶
func (srv *TablesDB) UpdateBigIntColumn(DatabaseId string, TableId string, Key string, Required bool, Default int, optionalSetters ...UpdateBigIntColumnOption) (*models.ColumnBigint, error)
UpdateBigIntColumn update a bigint column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateBooleanColumn ¶
func (srv *TablesDB) UpdateBooleanColumn(DatabaseId string, TableId string, Key string, Required bool, Default bool, optionalSetters ...UpdateBooleanColumnOption) (*models.ColumnBoolean, error)
UpdateBooleanColumn update a boolean column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateDatetimeColumn ¶
func (srv *TablesDB) UpdateDatetimeColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, optionalSetters ...UpdateDatetimeColumnOption) (*models.ColumnDatetime, error)
UpdateDatetimeColumn update a date time column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateEmailColumn ¶
func (srv *TablesDB) UpdateEmailColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, optionalSetters ...UpdateEmailColumnOption) (*models.ColumnEmail, error)
UpdateEmailColumn update an email column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateEnumColumn ¶
func (srv *TablesDB) UpdateEnumColumn(DatabaseId string, TableId string, Key string, Elements []string, Required bool, Default string, optionalSetters ...UpdateEnumColumnOption) (*models.ColumnEnum, error)
UpdateEnumColumn update an enum column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateFloatColumn ¶
func (srv *TablesDB) UpdateFloatColumn(DatabaseId string, TableId string, Key string, Required bool, Default float64, optionalSetters ...UpdateFloatColumnOption) (*models.ColumnFloat, error)
UpdateFloatColumn update a float column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateIntegerColumn ¶
func (srv *TablesDB) UpdateIntegerColumn(DatabaseId string, TableId string, Key string, Required bool, Default int, optionalSetters ...UpdateIntegerColumnOption) (*models.ColumnInteger, error)
UpdateIntegerColumn update an integer column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateIpColumn ¶
func (srv *TablesDB) UpdateIpColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, optionalSetters ...UpdateIpColumnOption) (*models.ColumnIp, error)
UpdateIpColumn update an ip column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateLineColumn ¶
func (srv *TablesDB) UpdateLineColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...UpdateLineColumnOption) (*models.ColumnLine, error)
UpdateLineColumn update a line column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateLongtextColumn ¶
func (srv *TablesDB) UpdateLongtextColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, optionalSetters ...UpdateLongtextColumnOption) (*models.ColumnLongtext, error)
UpdateLongtextColumn update a longtext column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateMediumtextColumn ¶
func (srv *TablesDB) UpdateMediumtextColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, optionalSetters ...UpdateMediumtextColumnOption) (*models.ColumnMediumtext, error)
UpdateMediumtextColumn update a mediumtext column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdatePointColumn ¶
func (srv *TablesDB) UpdatePointColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...UpdatePointColumnOption) (*models.ColumnPoint, error)
UpdatePointColumn update a point column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdatePolygonColumn ¶
func (srv *TablesDB) UpdatePolygonColumn(DatabaseId string, TableId string, Key string, Required bool, optionalSetters ...UpdatePolygonColumnOption) (*models.ColumnPolygon, error)
UpdatePolygonColumn update a polygon column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateRelationshipColumn ¶
func (srv *TablesDB) UpdateRelationshipColumn(DatabaseId string, TableId string, Key string, optionalSetters ...UpdateRelationshipColumnOption) (*models.ColumnRelationship, error)
UpdateRelationshipColumn update relationship column. [Learn more about relationship columns](https://appwrite.io/docs/databases-relationships#relationship-columns).
func (*TablesDB) UpdateRow ¶
func (srv *TablesDB) UpdateRow(DatabaseId string, TableId string, RowId string, optionalSetters ...UpdateRowOption) (*models.Row, error)
UpdateRow update a row by its unique ID. Using the patch method you can pass only specific fields that will get updated.
func (*TablesDB) UpdateRows ¶
func (srv *TablesDB) UpdateRows(DatabaseId string, TableId string, optionalSetters ...UpdateRowsOption) (*models.RowList, error)
UpdateRows update all rows that match your queries, if no queries are submitted then all rows are updated. You can pass only specific fields to be updated.
func (*TablesDB) UpdateStringColumn
deprecated
func (srv *TablesDB) UpdateStringColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, optionalSetters ...UpdateStringColumnOption) (*models.ColumnString, error)
UpdateStringColumn update a string column. Changing the `default` value will not update already existing rows.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateTextColumn` instead.
func (*TablesDB) UpdateTable ¶
func (srv *TablesDB) UpdateTable(DatabaseId string, TableId string, optionalSetters ...UpdateTableOption) (*models.Table, error)
UpdateTable update a table by its unique ID.
func (*TablesDB) UpdateTextColumn ¶
func (srv *TablesDB) UpdateTextColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, optionalSetters ...UpdateTextColumnOption) (*models.ColumnText, error)
UpdateTextColumn update a text column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateTransaction ¶
func (srv *TablesDB) UpdateTransaction(TransactionId string, optionalSetters ...UpdateTransactionOption) (*models.Transaction, error)
UpdateTransaction update a transaction, to either commit or roll back its operations.
func (*TablesDB) UpdateUrlColumn ¶
func (srv *TablesDB) UpdateUrlColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, optionalSetters ...UpdateUrlColumnOption) (*models.ColumnUrl, error)
UpdateUrlColumn update an url column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpdateVarcharColumn ¶
func (srv *TablesDB) UpdateVarcharColumn(DatabaseId string, TableId string, Key string, Required bool, Default string, optionalSetters ...UpdateVarcharColumnOption) (*models.ColumnVarchar, error)
UpdateVarcharColumn update a varchar column. Changing the `default` value will not update already existing rows.
func (*TablesDB) UpsertRow ¶
func (srv *TablesDB) UpsertRow(DatabaseId string, TableId string, RowId string, optionalSetters ...UpsertRowOption) (*models.Row, error)
UpsertRow create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) API or directly from your database console.
func (*TablesDB) UpsertRows ¶
func (srv *TablesDB) UpsertRows(DatabaseId string, TableId string, Rows []interface{}, optionalSetters ...UpsertRowsOption) (*models.RowList, error)
UpsertRows create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable) API or directly from your database console.
func (*TablesDB) WithCreateBigIntColumnArray ¶
func (srv *TablesDB) WithCreateBigIntColumnArray(v bool) CreateBigIntColumnOption
func (*TablesDB) WithCreateBigIntColumnDefault ¶
func (srv *TablesDB) WithCreateBigIntColumnDefault(v int) CreateBigIntColumnOption
func (*TablesDB) WithCreateBigIntColumnMax ¶
func (srv *TablesDB) WithCreateBigIntColumnMax(v int) CreateBigIntColumnOption
func (*TablesDB) WithCreateBigIntColumnMin ¶
func (srv *TablesDB) WithCreateBigIntColumnMin(v int) CreateBigIntColumnOption
func (*TablesDB) WithCreateBooleanColumnArray ¶
func (srv *TablesDB) WithCreateBooleanColumnArray(v bool) CreateBooleanColumnOption
func (*TablesDB) WithCreateBooleanColumnDefault ¶
func (srv *TablesDB) WithCreateBooleanColumnDefault(v bool) CreateBooleanColumnOption
func (*TablesDB) WithCreateDatetimeColumnArray ¶
func (srv *TablesDB) WithCreateDatetimeColumnArray(v bool) CreateDatetimeColumnOption
func (*TablesDB) WithCreateDatetimeColumnDefault ¶
func (srv *TablesDB) WithCreateDatetimeColumnDefault(v string) CreateDatetimeColumnOption
func (*TablesDB) WithCreateEmailColumnArray ¶
func (srv *TablesDB) WithCreateEmailColumnArray(v bool) CreateEmailColumnOption
func (*TablesDB) WithCreateEmailColumnDefault ¶
func (srv *TablesDB) WithCreateEmailColumnDefault(v string) CreateEmailColumnOption
func (*TablesDB) WithCreateEnabled ¶
func (srv *TablesDB) WithCreateEnabled(v bool) CreateOption
func (*TablesDB) WithCreateEnumColumnArray ¶
func (srv *TablesDB) WithCreateEnumColumnArray(v bool) CreateEnumColumnOption
func (*TablesDB) WithCreateEnumColumnDefault ¶
func (srv *TablesDB) WithCreateEnumColumnDefault(v string) CreateEnumColumnOption
func (*TablesDB) WithCreateFailoverTargetReplicaId ¶
func (srv *TablesDB) WithCreateFailoverTargetReplicaId(v string) CreateFailoverOption
func (*TablesDB) WithCreateFloatColumnArray ¶
func (srv *TablesDB) WithCreateFloatColumnArray(v bool) CreateFloatColumnOption
func (*TablesDB) WithCreateFloatColumnDefault ¶
func (srv *TablesDB) WithCreateFloatColumnDefault(v float64) CreateFloatColumnOption
func (*TablesDB) WithCreateFloatColumnMax ¶
func (srv *TablesDB) WithCreateFloatColumnMax(v float64) CreateFloatColumnOption
func (*TablesDB) WithCreateFloatColumnMin ¶
func (srv *TablesDB) WithCreateFloatColumnMin(v float64) CreateFloatColumnOption
func (*TablesDB) WithCreateIndexLengths ¶
func (srv *TablesDB) WithCreateIndexLengths(v []int) CreateIndexOption
func (*TablesDB) WithCreateIndexOrders ¶
func (srv *TablesDB) WithCreateIndexOrders(v []string) CreateIndexOption
func (*TablesDB) WithCreateIntegerColumnArray ¶
func (srv *TablesDB) WithCreateIntegerColumnArray(v bool) CreateIntegerColumnOption
func (*TablesDB) WithCreateIntegerColumnDefault ¶
func (srv *TablesDB) WithCreateIntegerColumnDefault(v int) CreateIntegerColumnOption
func (*TablesDB) WithCreateIntegerColumnMax ¶
func (srv *TablesDB) WithCreateIntegerColumnMax(v int) CreateIntegerColumnOption
func (*TablesDB) WithCreateIntegerColumnMin ¶
func (srv *TablesDB) WithCreateIntegerColumnMin(v int) CreateIntegerColumnOption
func (*TablesDB) WithCreateIpColumnArray ¶
func (srv *TablesDB) WithCreateIpColumnArray(v bool) CreateIpColumnOption
func (*TablesDB) WithCreateIpColumnDefault ¶
func (srv *TablesDB) WithCreateIpColumnDefault(v string) CreateIpColumnOption
func (*TablesDB) WithCreateLineColumnDefault ¶
func (srv *TablesDB) WithCreateLineColumnDefault(v [][]interface{}) CreateLineColumnOption
func (*TablesDB) WithCreateLongtextColumnArray ¶
func (srv *TablesDB) WithCreateLongtextColumnArray(v bool) CreateLongtextColumnOption
func (*TablesDB) WithCreateLongtextColumnDefault ¶
func (srv *TablesDB) WithCreateLongtextColumnDefault(v string) CreateLongtextColumnOption
func (*TablesDB) WithCreateLongtextColumnEncrypt ¶
func (srv *TablesDB) WithCreateLongtextColumnEncrypt(v bool) CreateLongtextColumnOption
func (*TablesDB) WithCreateMediumtextColumnArray ¶
func (srv *TablesDB) WithCreateMediumtextColumnArray(v bool) CreateMediumtextColumnOption
func (*TablesDB) WithCreateMediumtextColumnDefault ¶
func (srv *TablesDB) WithCreateMediumtextColumnDefault(v string) CreateMediumtextColumnOption
func (*TablesDB) WithCreateMediumtextColumnEncrypt ¶
func (srv *TablesDB) WithCreateMediumtextColumnEncrypt(v bool) CreateMediumtextColumnOption
func (*TablesDB) WithCreateMigrationAutoCutover ¶
func (srv *TablesDB) WithCreateMigrationAutoCutover(v bool) CreateMigrationOption
func (*TablesDB) WithCreateOperationsOperations ¶
func (srv *TablesDB) WithCreateOperationsOperations(v []interface{}) CreateOperationsOption
func (*TablesDB) WithCreatePointColumnDefault ¶
func (srv *TablesDB) WithCreatePointColumnDefault(v []float64) CreatePointColumnOption
func (*TablesDB) WithCreatePolygonColumnDefault ¶
func (srv *TablesDB) WithCreatePolygonColumnDefault(v [][]interface{}) CreatePolygonColumnOption
func (*TablesDB) WithCreateRelationshipColumnKey ¶
func (srv *TablesDB) WithCreateRelationshipColumnKey(v string) CreateRelationshipColumnOption
func (*TablesDB) WithCreateRelationshipColumnOnDelete ¶
func (srv *TablesDB) WithCreateRelationshipColumnOnDelete(v string) CreateRelationshipColumnOption
func (*TablesDB) WithCreateRelationshipColumnTwoWay ¶
func (srv *TablesDB) WithCreateRelationshipColumnTwoWay(v bool) CreateRelationshipColumnOption
func (*TablesDB) WithCreateRelationshipColumnTwoWayKey ¶
func (srv *TablesDB) WithCreateRelationshipColumnTwoWayKey(v string) CreateRelationshipColumnOption
func (*TablesDB) WithCreateReplicas ¶
func (srv *TablesDB) WithCreateReplicas(v int) CreateOption
func (*TablesDB) WithCreateRowPermissions ¶
func (srv *TablesDB) WithCreateRowPermissions(v []string) CreateRowOption
func (*TablesDB) WithCreateRowTransactionId ¶
func (srv *TablesDB) WithCreateRowTransactionId(v string) CreateRowOption
func (*TablesDB) WithCreateRowsTransactionId ¶
func (srv *TablesDB) WithCreateRowsTransactionId(v string) CreateRowsOption
func (*TablesDB) WithCreateSpecification ¶
func (srv *TablesDB) WithCreateSpecification(v string) CreateOption
func (*TablesDB) WithCreateStringColumnArray ¶
func (srv *TablesDB) WithCreateStringColumnArray(v bool) CreateStringColumnOption
func (*TablesDB) WithCreateStringColumnDefault ¶
func (srv *TablesDB) WithCreateStringColumnDefault(v string) CreateStringColumnOption
func (*TablesDB) WithCreateStringColumnEncrypt ¶
func (srv *TablesDB) WithCreateStringColumnEncrypt(v bool) CreateStringColumnOption
func (*TablesDB) WithCreateSyncMode ¶
func (srv *TablesDB) WithCreateSyncMode(v string) CreateOption
func (*TablesDB) WithCreateTableColumns ¶
func (srv *TablesDB) WithCreateTableColumns(v []interface{}) CreateTableOption
func (*TablesDB) WithCreateTableEnabled ¶
func (srv *TablesDB) WithCreateTableEnabled(v bool) CreateTableOption
func (*TablesDB) WithCreateTableIndexes ¶
func (srv *TablesDB) WithCreateTableIndexes(v []interface{}) CreateTableOption
func (*TablesDB) WithCreateTablePermissions ¶
func (srv *TablesDB) WithCreateTablePermissions(v []string) CreateTableOption
func (*TablesDB) WithCreateTableRowSecurity ¶
func (srv *TablesDB) WithCreateTableRowSecurity(v bool) CreateTableOption
func (*TablesDB) WithCreateTextColumnArray ¶
func (srv *TablesDB) WithCreateTextColumnArray(v bool) CreateTextColumnOption
func (*TablesDB) WithCreateTextColumnDefault ¶
func (srv *TablesDB) WithCreateTextColumnDefault(v string) CreateTextColumnOption
func (*TablesDB) WithCreateTextColumnEncrypt ¶
func (srv *TablesDB) WithCreateTextColumnEncrypt(v bool) CreateTextColumnOption
func (*TablesDB) WithCreateTransactionTtl ¶
func (srv *TablesDB) WithCreateTransactionTtl(v int) CreateTransactionOption
func (*TablesDB) WithCreateUrlColumnArray ¶
func (srv *TablesDB) WithCreateUrlColumnArray(v bool) CreateUrlColumnOption
func (*TablesDB) WithCreateUrlColumnDefault ¶
func (srv *TablesDB) WithCreateUrlColumnDefault(v string) CreateUrlColumnOption
func (*TablesDB) WithCreateVarcharColumnArray ¶
func (srv *TablesDB) WithCreateVarcharColumnArray(v bool) CreateVarcharColumnOption
func (*TablesDB) WithCreateVarcharColumnDefault ¶
func (srv *TablesDB) WithCreateVarcharColumnDefault(v string) CreateVarcharColumnOption
func (*TablesDB) WithCreateVarcharColumnEncrypt ¶
func (srv *TablesDB) WithCreateVarcharColumnEncrypt(v bool) CreateVarcharColumnOption
func (*TablesDB) WithDecrementRowColumnMin ¶
func (srv *TablesDB) WithDecrementRowColumnMin(v float64) DecrementRowColumnOption
func (*TablesDB) WithDecrementRowColumnTransactionId ¶
func (srv *TablesDB) WithDecrementRowColumnTransactionId(v string) DecrementRowColumnOption
func (*TablesDB) WithDecrementRowColumnValue ¶
func (srv *TablesDB) WithDecrementRowColumnValue(v float64) DecrementRowColumnOption
func (*TablesDB) WithDeleteRowTransactionId ¶
func (srv *TablesDB) WithDeleteRowTransactionId(v string) DeleteRowOption
func (*TablesDB) WithDeleteRowsQueries ¶
func (srv *TablesDB) WithDeleteRowsQueries(v []string) DeleteRowsOption
func (*TablesDB) WithDeleteRowsTransactionId ¶
func (srv *TablesDB) WithDeleteRowsTransactionId(v string) DeleteRowsOption
func (*TablesDB) WithGetRowQueries ¶
func (srv *TablesDB) WithGetRowQueries(v []string) GetRowOption
func (*TablesDB) WithGetRowTransactionId ¶
func (srv *TablesDB) WithGetRowTransactionId(v string) GetRowOption
func (*TablesDB) WithIncrementRowColumnMax ¶
func (srv *TablesDB) WithIncrementRowColumnMax(v float64) IncrementRowColumnOption
func (*TablesDB) WithIncrementRowColumnTransactionId ¶
func (srv *TablesDB) WithIncrementRowColumnTransactionId(v string) IncrementRowColumnOption
func (*TablesDB) WithIncrementRowColumnValue ¶
func (srv *TablesDB) WithIncrementRowColumnValue(v float64) IncrementRowColumnOption
func (*TablesDB) WithListColumnsQueries ¶
func (srv *TablesDB) WithListColumnsQueries(v []string) ListColumnsOption
func (*TablesDB) WithListColumnsTotal ¶
func (srv *TablesDB) WithListColumnsTotal(v bool) ListColumnsOption
func (*TablesDB) WithListIndexesQueries ¶
func (srv *TablesDB) WithListIndexesQueries(v []string) ListIndexesOption
func (*TablesDB) WithListIndexesTotal ¶
func (srv *TablesDB) WithListIndexesTotal(v bool) ListIndexesOption
func (*TablesDB) WithListOperationsLimit ¶
func (srv *TablesDB) WithListOperationsLimit(v int) ListOperationsOption
func (*TablesDB) WithListOperationsOffset ¶
func (srv *TablesDB) WithListOperationsOffset(v int) ListOperationsOption
func (*TablesDB) WithListOperationsStatus ¶
func (srv *TablesDB) WithListOperationsStatus(v string) ListOperationsOption
func (*TablesDB) WithListQueries ¶
func (srv *TablesDB) WithListQueries(v []string) ListOption
func (*TablesDB) WithListRowsQueries ¶
func (srv *TablesDB) WithListRowsQueries(v []string) ListRowsOption
func (*TablesDB) WithListRowsTotal ¶
func (srv *TablesDB) WithListRowsTotal(v bool) ListRowsOption
func (*TablesDB) WithListRowsTransactionId ¶
func (srv *TablesDB) WithListRowsTransactionId(v string) ListRowsOption
func (*TablesDB) WithListRowsTtl ¶
func (srv *TablesDB) WithListRowsTtl(v int) ListRowsOption
func (*TablesDB) WithListSearch ¶
func (srv *TablesDB) WithListSearch(v string) ListOption
func (*TablesDB) WithListTablesQueries ¶
func (srv *TablesDB) WithListTablesQueries(v []string) ListTablesOption
func (*TablesDB) WithListTablesSearch ¶
func (srv *TablesDB) WithListTablesSearch(v string) ListTablesOption
func (*TablesDB) WithListTablesTotal ¶
func (srv *TablesDB) WithListTablesTotal(v bool) ListTablesOption
func (*TablesDB) WithListTotal ¶
func (srv *TablesDB) WithListTotal(v bool) ListOption
func (*TablesDB) WithListTransactionsQueries ¶
func (srv *TablesDB) WithListTransactionsQueries(v []string) ListTransactionsOption
func (*TablesDB) WithUpdateBigIntColumnMax ¶
func (srv *TablesDB) WithUpdateBigIntColumnMax(v int) UpdateBigIntColumnOption
func (*TablesDB) WithUpdateBigIntColumnMin ¶
func (srv *TablesDB) WithUpdateBigIntColumnMin(v int) UpdateBigIntColumnOption
func (*TablesDB) WithUpdateBigIntColumnNewKey ¶
func (srv *TablesDB) WithUpdateBigIntColumnNewKey(v string) UpdateBigIntColumnOption
func (*TablesDB) WithUpdateBooleanColumnNewKey ¶
func (srv *TablesDB) WithUpdateBooleanColumnNewKey(v string) UpdateBooleanColumnOption
func (*TablesDB) WithUpdateDatetimeColumnNewKey ¶
func (srv *TablesDB) WithUpdateDatetimeColumnNewKey(v string) UpdateDatetimeColumnOption
func (*TablesDB) WithUpdateEmailColumnNewKey ¶
func (srv *TablesDB) WithUpdateEmailColumnNewKey(v string) UpdateEmailColumnOption
func (*TablesDB) WithUpdateEnabled ¶
func (srv *TablesDB) WithUpdateEnabled(v bool) UpdateOption
func (*TablesDB) WithUpdateEnumColumnNewKey ¶
func (srv *TablesDB) WithUpdateEnumColumnNewKey(v string) UpdateEnumColumnOption
func (*TablesDB) WithUpdateFloatColumnMax ¶
func (srv *TablesDB) WithUpdateFloatColumnMax(v float64) UpdateFloatColumnOption
func (*TablesDB) WithUpdateFloatColumnMin ¶
func (srv *TablesDB) WithUpdateFloatColumnMin(v float64) UpdateFloatColumnOption
func (*TablesDB) WithUpdateFloatColumnNewKey ¶
func (srv *TablesDB) WithUpdateFloatColumnNewKey(v string) UpdateFloatColumnOption
func (*TablesDB) WithUpdateIntegerColumnMax ¶
func (srv *TablesDB) WithUpdateIntegerColumnMax(v int) UpdateIntegerColumnOption
func (*TablesDB) WithUpdateIntegerColumnMin ¶
func (srv *TablesDB) WithUpdateIntegerColumnMin(v int) UpdateIntegerColumnOption
func (*TablesDB) WithUpdateIntegerColumnNewKey ¶
func (srv *TablesDB) WithUpdateIntegerColumnNewKey(v string) UpdateIntegerColumnOption
func (*TablesDB) WithUpdateIpColumnNewKey ¶
func (srv *TablesDB) WithUpdateIpColumnNewKey(v string) UpdateIpColumnOption
func (*TablesDB) WithUpdateLineColumnDefault ¶
func (srv *TablesDB) WithUpdateLineColumnDefault(v [][]interface{}) UpdateLineColumnOption
func (*TablesDB) WithUpdateLineColumnNewKey ¶
func (srv *TablesDB) WithUpdateLineColumnNewKey(v string) UpdateLineColumnOption
func (*TablesDB) WithUpdateLongtextColumnNewKey ¶
func (srv *TablesDB) WithUpdateLongtextColumnNewKey(v string) UpdateLongtextColumnOption
func (*TablesDB) WithUpdateMediumtextColumnNewKey ¶
func (srv *TablesDB) WithUpdateMediumtextColumnNewKey(v string) UpdateMediumtextColumnOption
func (*TablesDB) WithUpdateName ¶
func (srv *TablesDB) WithUpdateName(v string) UpdateOption
func (*TablesDB) WithUpdatePointColumnDefault ¶
func (srv *TablesDB) WithUpdatePointColumnDefault(v []float64) UpdatePointColumnOption
func (*TablesDB) WithUpdatePointColumnNewKey ¶
func (srv *TablesDB) WithUpdatePointColumnNewKey(v string) UpdatePointColumnOption
func (*TablesDB) WithUpdatePolygonColumnDefault ¶
func (srv *TablesDB) WithUpdatePolygonColumnDefault(v [][]interface{}) UpdatePolygonColumnOption
func (*TablesDB) WithUpdatePolygonColumnNewKey ¶
func (srv *TablesDB) WithUpdatePolygonColumnNewKey(v string) UpdatePolygonColumnOption
func (*TablesDB) WithUpdateRelationshipColumnNewKey ¶
func (srv *TablesDB) WithUpdateRelationshipColumnNewKey(v string) UpdateRelationshipColumnOption
func (*TablesDB) WithUpdateRelationshipColumnOnDelete ¶
func (srv *TablesDB) WithUpdateRelationshipColumnOnDelete(v string) UpdateRelationshipColumnOption
func (*TablesDB) WithUpdateReplicas ¶
func (srv *TablesDB) WithUpdateReplicas(v int) UpdateOption
func (*TablesDB) WithUpdateRowData ¶
func (srv *TablesDB) WithUpdateRowData(v interface{}) UpdateRowOption
func (*TablesDB) WithUpdateRowPermissions ¶
func (srv *TablesDB) WithUpdateRowPermissions(v []string) UpdateRowOption
func (*TablesDB) WithUpdateRowTransactionId ¶
func (srv *TablesDB) WithUpdateRowTransactionId(v string) UpdateRowOption
func (*TablesDB) WithUpdateRowsData ¶
func (srv *TablesDB) WithUpdateRowsData(v interface{}) UpdateRowsOption
func (*TablesDB) WithUpdateRowsQueries ¶
func (srv *TablesDB) WithUpdateRowsQueries(v []string) UpdateRowsOption
func (*TablesDB) WithUpdateRowsTransactionId ¶
func (srv *TablesDB) WithUpdateRowsTransactionId(v string) UpdateRowsOption
func (*TablesDB) WithUpdateSpecification ¶
func (srv *TablesDB) WithUpdateSpecification(v string) UpdateOption
func (*TablesDB) WithUpdateStringColumnNewKey ¶
func (srv *TablesDB) WithUpdateStringColumnNewKey(v string) UpdateStringColumnOption
func (*TablesDB) WithUpdateStringColumnSize ¶
func (srv *TablesDB) WithUpdateStringColumnSize(v int) UpdateStringColumnOption
func (*TablesDB) WithUpdateSyncMode ¶
func (srv *TablesDB) WithUpdateSyncMode(v string) UpdateOption
func (*TablesDB) WithUpdateTableEnabled ¶
func (srv *TablesDB) WithUpdateTableEnabled(v bool) UpdateTableOption
func (*TablesDB) WithUpdateTableName ¶
func (srv *TablesDB) WithUpdateTableName(v string) UpdateTableOption
func (*TablesDB) WithUpdateTablePermissions ¶
func (srv *TablesDB) WithUpdateTablePermissions(v []string) UpdateTableOption
func (*TablesDB) WithUpdateTablePurge ¶
func (srv *TablesDB) WithUpdateTablePurge(v bool) UpdateTableOption
func (*TablesDB) WithUpdateTableRowSecurity ¶
func (srv *TablesDB) WithUpdateTableRowSecurity(v bool) UpdateTableOption
func (*TablesDB) WithUpdateTextColumnNewKey ¶
func (srv *TablesDB) WithUpdateTextColumnNewKey(v string) UpdateTextColumnOption
func (*TablesDB) WithUpdateTransactionCommit ¶
func (srv *TablesDB) WithUpdateTransactionCommit(v bool) UpdateTransactionOption
func (*TablesDB) WithUpdateTransactionRollback ¶
func (srv *TablesDB) WithUpdateTransactionRollback(v bool) UpdateTransactionOption
func (*TablesDB) WithUpdateUrlColumnNewKey ¶
func (srv *TablesDB) WithUpdateUrlColumnNewKey(v string) UpdateUrlColumnOption
func (*TablesDB) WithUpdateVarcharColumnNewKey ¶
func (srv *TablesDB) WithUpdateVarcharColumnNewKey(v string) UpdateVarcharColumnOption
func (*TablesDB) WithUpdateVarcharColumnSize ¶
func (srv *TablesDB) WithUpdateVarcharColumnSize(v int) UpdateVarcharColumnOption
func (*TablesDB) WithUpsertRowData ¶
func (srv *TablesDB) WithUpsertRowData(v interface{}) UpsertRowOption
func (*TablesDB) WithUpsertRowPermissions ¶
func (srv *TablesDB) WithUpsertRowPermissions(v []string) UpsertRowOption
func (*TablesDB) WithUpsertRowTransactionId ¶
func (srv *TablesDB) WithUpsertRowTransactionId(v string) UpsertRowOption
func (*TablesDB) WithUpsertRowsTransactionId ¶
func (srv *TablesDB) WithUpsertRowsTransactionId(v string) UpsertRowsOption
type UpdateBigIntColumnOption ¶
type UpdateBigIntColumnOption func(*UpdateBigIntColumnOptions)
type UpdateBigIntColumnOptions ¶
type UpdateBigIntColumnOptions struct {
Min int
Max int
NewKey string
// contains filtered or unexported fields
}
func (UpdateBigIntColumnOptions) New ¶
func (options UpdateBigIntColumnOptions) New() *UpdateBigIntColumnOptions
type UpdateBooleanColumnOption ¶
type UpdateBooleanColumnOption func(*UpdateBooleanColumnOptions)
type UpdateBooleanColumnOptions ¶
type UpdateBooleanColumnOptions struct {
NewKey string
// contains filtered or unexported fields
}
func (UpdateBooleanColumnOptions) New ¶
func (options UpdateBooleanColumnOptions) New() *UpdateBooleanColumnOptions
type UpdateDatetimeColumnOption ¶
type UpdateDatetimeColumnOption func(*UpdateDatetimeColumnOptions)
type UpdateDatetimeColumnOptions ¶
type UpdateDatetimeColumnOptions struct {
NewKey string
// contains filtered or unexported fields
}
func (UpdateDatetimeColumnOptions) New ¶
func (options UpdateDatetimeColumnOptions) New() *UpdateDatetimeColumnOptions
type UpdateEmailColumnOption ¶
type UpdateEmailColumnOption func(*UpdateEmailColumnOptions)
type UpdateEmailColumnOptions ¶
type UpdateEmailColumnOptions struct {
NewKey string
// contains filtered or unexported fields
}
func (UpdateEmailColumnOptions) New ¶
func (options UpdateEmailColumnOptions) New() *UpdateEmailColumnOptions
type UpdateEnumColumnOption ¶
type UpdateEnumColumnOption func(*UpdateEnumColumnOptions)
type UpdateEnumColumnOptions ¶
type UpdateEnumColumnOptions struct {
NewKey string
// contains filtered or unexported fields
}
func (UpdateEnumColumnOptions) New ¶
func (options UpdateEnumColumnOptions) New() *UpdateEnumColumnOptions
type UpdateFloatColumnOption ¶
type UpdateFloatColumnOption func(*UpdateFloatColumnOptions)
type UpdateFloatColumnOptions ¶
type UpdateFloatColumnOptions struct {
Min float64
Max float64
NewKey string
// contains filtered or unexported fields
}
func (UpdateFloatColumnOptions) New ¶
func (options UpdateFloatColumnOptions) New() *UpdateFloatColumnOptions
type UpdateIntegerColumnOption ¶
type UpdateIntegerColumnOption func(*UpdateIntegerColumnOptions)
type UpdateIntegerColumnOptions ¶
type UpdateIntegerColumnOptions struct {
Min int
Max int
NewKey string
// contains filtered or unexported fields
}
func (UpdateIntegerColumnOptions) New ¶
func (options UpdateIntegerColumnOptions) New() *UpdateIntegerColumnOptions
type UpdateIpColumnOption ¶
type UpdateIpColumnOption func(*UpdateIpColumnOptions)
type UpdateIpColumnOptions ¶
type UpdateIpColumnOptions struct {
NewKey string
// contains filtered or unexported fields
}
func (UpdateIpColumnOptions) New ¶
func (options UpdateIpColumnOptions) New() *UpdateIpColumnOptions
type UpdateLineColumnOption ¶
type UpdateLineColumnOption func(*UpdateLineColumnOptions)
type UpdateLineColumnOptions ¶
type UpdateLineColumnOptions struct {
Default [][]interface{}
NewKey string
// contains filtered or unexported fields
}
func (UpdateLineColumnOptions) New ¶
func (options UpdateLineColumnOptions) New() *UpdateLineColumnOptions
type UpdateLongtextColumnOption ¶
type UpdateLongtextColumnOption func(*UpdateLongtextColumnOptions)
type UpdateLongtextColumnOptions ¶
type UpdateLongtextColumnOptions struct {
NewKey string
// contains filtered or unexported fields
}
func (UpdateLongtextColumnOptions) New ¶
func (options UpdateLongtextColumnOptions) New() *UpdateLongtextColumnOptions
type UpdateMediumtextColumnOption ¶
type UpdateMediumtextColumnOption func(*UpdateMediumtextColumnOptions)
type UpdateMediumtextColumnOptions ¶
type UpdateMediumtextColumnOptions struct {
NewKey string
// contains filtered or unexported fields
}
func (UpdateMediumtextColumnOptions) New ¶
func (options UpdateMediumtextColumnOptions) New() *UpdateMediumtextColumnOptions
type UpdateOption ¶
type UpdateOption func(*UpdateOptions)
type UpdateOptions ¶
type UpdateOptions struct {
Name string
Enabled bool
Specification string
Replicas int
SyncMode string
// contains filtered or unexported fields
}
func (UpdateOptions) New ¶
func (options UpdateOptions) New() *UpdateOptions
type UpdatePointColumnOption ¶
type UpdatePointColumnOption func(*UpdatePointColumnOptions)
type UpdatePointColumnOptions ¶
type UpdatePointColumnOptions struct {
Default []float64
NewKey string
// contains filtered or unexported fields
}
func (UpdatePointColumnOptions) New ¶
func (options UpdatePointColumnOptions) New() *UpdatePointColumnOptions
type UpdatePolygonColumnOption ¶
type UpdatePolygonColumnOption func(*UpdatePolygonColumnOptions)
type UpdatePolygonColumnOptions ¶
type UpdatePolygonColumnOptions struct {
Default [][]interface{}
NewKey string
// contains filtered or unexported fields
}
func (UpdatePolygonColumnOptions) New ¶
func (options UpdatePolygonColumnOptions) New() *UpdatePolygonColumnOptions
type UpdateRelationshipColumnOption ¶
type UpdateRelationshipColumnOption func(*UpdateRelationshipColumnOptions)
type UpdateRelationshipColumnOptions ¶
type UpdateRelationshipColumnOptions struct {
OnDelete string
NewKey string
// contains filtered or unexported fields
}
func (UpdateRelationshipColumnOptions) New ¶
func (options UpdateRelationshipColumnOptions) New() *UpdateRelationshipColumnOptions
type UpdateRowOption ¶
type UpdateRowOption func(*UpdateRowOptions)
type UpdateRowOptions ¶
type UpdateRowOptions struct {
Data interface{}
Permissions []string
TransactionId string
// contains filtered or unexported fields
}
func (UpdateRowOptions) New ¶
func (options UpdateRowOptions) New() *UpdateRowOptions
type UpdateRowsOption ¶
type UpdateRowsOption func(*UpdateRowsOptions)
type UpdateRowsOptions ¶
type UpdateRowsOptions struct {
Data interface{}
Queries []string
TransactionId string
// contains filtered or unexported fields
}
func (UpdateRowsOptions) New ¶
func (options UpdateRowsOptions) New() *UpdateRowsOptions
type UpdateStringColumnOption ¶
type UpdateStringColumnOption func(*UpdateStringColumnOptions)
type UpdateStringColumnOptions ¶
type UpdateStringColumnOptions struct {
Size int
NewKey string
// contains filtered or unexported fields
}
func (UpdateStringColumnOptions) New ¶
func (options UpdateStringColumnOptions) New() *UpdateStringColumnOptions
type UpdateTableOption ¶
type UpdateTableOption func(*UpdateTableOptions)
type UpdateTableOptions ¶
type UpdateTableOptions struct {
Name string
Permissions []string
RowSecurity bool
Enabled bool
Purge bool
// contains filtered or unexported fields
}
func (UpdateTableOptions) New ¶
func (options UpdateTableOptions) New() *UpdateTableOptions
type UpdateTextColumnOption ¶
type UpdateTextColumnOption func(*UpdateTextColumnOptions)
type UpdateTextColumnOptions ¶
type UpdateTextColumnOptions struct {
NewKey string
// contains filtered or unexported fields
}
func (UpdateTextColumnOptions) New ¶
func (options UpdateTextColumnOptions) New() *UpdateTextColumnOptions
type UpdateTransactionOption ¶
type UpdateTransactionOption func(*UpdateTransactionOptions)
type UpdateTransactionOptions ¶
type UpdateTransactionOptions struct {
Commit bool
Rollback bool
// contains filtered or unexported fields
}
func (UpdateTransactionOptions) New ¶
func (options UpdateTransactionOptions) New() *UpdateTransactionOptions
type UpdateUrlColumnOption ¶
type UpdateUrlColumnOption func(*UpdateUrlColumnOptions)
type UpdateUrlColumnOptions ¶
type UpdateUrlColumnOptions struct {
NewKey string
// contains filtered or unexported fields
}
func (UpdateUrlColumnOptions) New ¶
func (options UpdateUrlColumnOptions) New() *UpdateUrlColumnOptions
type UpdateVarcharColumnOption ¶
type UpdateVarcharColumnOption func(*UpdateVarcharColumnOptions)
type UpdateVarcharColumnOptions ¶
type UpdateVarcharColumnOptions struct {
Size int
NewKey string
// contains filtered or unexported fields
}
func (UpdateVarcharColumnOptions) New ¶
func (options UpdateVarcharColumnOptions) New() *UpdateVarcharColumnOptions
type UpsertRowOption ¶
type UpsertRowOption func(*UpsertRowOptions)
type UpsertRowOptions ¶
type UpsertRowOptions struct {
Data interface{}
Permissions []string
TransactionId string
// contains filtered or unexported fields
}
func (UpsertRowOptions) New ¶
func (options UpsertRowOptions) New() *UpsertRowOptions
type UpsertRowsOption ¶
type UpsertRowsOption func(*UpsertRowsOptions)
type UpsertRowsOptions ¶
type UpsertRowsOptions struct {
TransactionId string
// contains filtered or unexported fields
}
func (UpsertRowsOptions) New ¶
func (options UpsertRowsOptions) New() *UpsertRowsOptions