tablesdb

package
v5.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

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

type CreateBooleanColumnOption

type CreateBooleanColumnOption func(*CreateBooleanColumnOptions)

type CreateBooleanColumnOptions

type CreateBooleanColumnOptions struct {
	Default bool
	Array   bool
	// contains filtered or unexported fields
}

func (CreateBooleanColumnOptions) New

type CreateDatetimeColumnOption

type CreateDatetimeColumnOption func(*CreateDatetimeColumnOptions)

type CreateDatetimeColumnOptions

type CreateDatetimeColumnOptions struct {
	Default string
	Array   bool
	// contains filtered or unexported fields
}

func (CreateDatetimeColumnOptions) New

type CreateEmailColumnOption

type CreateEmailColumnOption func(*CreateEmailColumnOptions)

type CreateEmailColumnOptions

type CreateEmailColumnOptions struct {
	Default string
	Array   bool
	// contains filtered or unexported fields
}

func (CreateEmailColumnOptions) New

type CreateEnumColumnOption

type CreateEnumColumnOption func(*CreateEnumColumnOptions)

type CreateEnumColumnOptions

type CreateEnumColumnOptions struct {
	Default string
	Array   bool
	// contains filtered or unexported fields
}

func (CreateEnumColumnOptions) New

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

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

type CreateIpColumnOption

type CreateIpColumnOption func(*CreateIpColumnOptions)

type CreateIpColumnOptions

type CreateIpColumnOptions struct {
	Default string
	Array   bool
	// contains filtered or unexported fields
}

func (CreateIpColumnOptions) New

type CreateLineColumnOption

type CreateLineColumnOption func(*CreateLineColumnOptions)

type CreateLineColumnOptions

type CreateLineColumnOptions struct {
	Default []interface{}
	// contains filtered or unexported fields
}

func (CreateLineColumnOptions) New

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

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

type CreateOperationsOption

type CreateOperationsOption func(*CreateOperationsOptions)

type CreateOperationsOptions

type CreateOperationsOptions struct {
	Operations []interface{}
	// contains filtered or unexported fields
}

func (CreateOperationsOptions) New

type CreateOption

type CreateOption func(*CreateOptions)

type CreateOptions

type CreateOptions struct {
	Enabled bool
	// 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 []interface{}
	// contains filtered or unexported fields
}

func (CreatePointColumnOptions) New

type CreatePolygonColumnOption

type CreatePolygonColumnOption func(*CreatePolygonColumnOptions)

type CreatePolygonColumnOptions

type CreatePolygonColumnOptions struct {
	Default []interface{}
	// contains filtered or unexported fields
}

func (CreatePolygonColumnOptions) New

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

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

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

type CreateTransactionOption

type CreateTransactionOption func(*CreateTransactionOptions)

type CreateTransactionOptions

type CreateTransactionOptions struct {
	Ttl int
	// contains filtered or unexported fields
}

func (CreateTransactionOptions) New

type CreateUrlColumnOption

type CreateUrlColumnOption func(*CreateUrlColumnOptions)

type CreateUrlColumnOptions

type CreateUrlColumnOptions struct {
	Default string
	Array   bool
	// contains filtered or unexported fields
}

func (CreateUrlColumnOptions) New

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

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

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

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 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

type TablesDB

type TablesDB struct {
	// contains filtered or unexported fields
}

TablesDB service

func New

func New(clt client.Client) *TablesDB

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) 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) 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) 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

func (srv *TablesDB) Delete(DatabaseId string) (*interface{}, error)

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) 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

func (srv *TablesDB) DeleteTable(DatabaseId string, TableId string) (*interface{}, error)

DeleteTable delete a table by its unique ID. Only users with write permissions have access to delete this resource.

func (*TablesDB) DeleteTransaction

func (srv *TablesDB) DeleteTransaction(TransactionId string) (*interface{}, error)

DeleteTransaction delete a transaction by its unique ID.

func (*TablesDB) Get

func (srv *TablesDB) Get(DatabaseId string) (*models.Database, error)

Get get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.

func (*TablesDB) GetColumn

func (srv *TablesDB) GetColumn(DatabaseId string, TableId string, Key string) (models.Model, error)

GetColumn get column by ID.

func (*TablesDB) GetIndex

func (srv *TablesDB) GetIndex(DatabaseId string, TableId string, Key string) (*models.ColumnIndex, error)

GetIndex get index by ID.

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) GetTable

func (srv *TablesDB) GetTable(DatabaseId string, TableId string) (*models.Table, error)

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) 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) 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) 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) WithCreateOperationsOperations

func (srv *TablesDB) WithCreateOperationsOperations(v []interface{}) CreateOperationsOption

func (*TablesDB) WithCreatePointColumnDefault

func (srv *TablesDB) WithCreatePointColumnDefault(v []interface{}) 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) 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) 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) 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) 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 []interface{}) 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) 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) WithUpdateStringColumnNewKey

func (srv *TablesDB) WithUpdateStringColumnNewKey(v string) UpdateStringColumnOption

func (*TablesDB) WithUpdateStringColumnSize

func (srv *TablesDB) WithUpdateStringColumnSize(v int) UpdateStringColumnOption

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

type UpdateBooleanColumnOption

type UpdateBooleanColumnOption func(*UpdateBooleanColumnOptions)

type UpdateBooleanColumnOptions

type UpdateBooleanColumnOptions struct {
	NewKey string
	// contains filtered or unexported fields
}

func (UpdateBooleanColumnOptions) New

type UpdateDatetimeColumnOption

type UpdateDatetimeColumnOption func(*UpdateDatetimeColumnOptions)

type UpdateDatetimeColumnOptions

type UpdateDatetimeColumnOptions struct {
	NewKey string
	// contains filtered or unexported fields
}

func (UpdateDatetimeColumnOptions) New

type UpdateEmailColumnOption

type UpdateEmailColumnOption func(*UpdateEmailColumnOptions)

type UpdateEmailColumnOptions

type UpdateEmailColumnOptions struct {
	NewKey string
	// contains filtered or unexported fields
}

func (UpdateEmailColumnOptions) New

type UpdateEnumColumnOption

type UpdateEnumColumnOption func(*UpdateEnumColumnOptions)

type UpdateEnumColumnOptions

type UpdateEnumColumnOptions struct {
	NewKey string
	// contains filtered or unexported fields
}

func (UpdateEnumColumnOptions) New

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

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

type UpdateIpColumnOption

type UpdateIpColumnOption func(*UpdateIpColumnOptions)

type UpdateIpColumnOptions

type UpdateIpColumnOptions struct {
	NewKey string
	// contains filtered or unexported fields
}

func (UpdateIpColumnOptions) New

type UpdateLineColumnOption

type UpdateLineColumnOption func(*UpdateLineColumnOptions)

type UpdateLineColumnOptions

type UpdateLineColumnOptions struct {
	Default []interface{}
	NewKey  string
	// contains filtered or unexported fields
}

func (UpdateLineColumnOptions) New

type UpdateLongtextColumnOption

type UpdateLongtextColumnOption func(*UpdateLongtextColumnOptions)

type UpdateLongtextColumnOptions

type UpdateLongtextColumnOptions struct {
	NewKey string
	// contains filtered or unexported fields
}

func (UpdateLongtextColumnOptions) New

type UpdateMediumtextColumnOption

type UpdateMediumtextColumnOption func(*UpdateMediumtextColumnOptions)

type UpdateMediumtextColumnOptions

type UpdateMediumtextColumnOptions struct {
	NewKey string
	// contains filtered or unexported fields
}

func (UpdateMediumtextColumnOptions) New

type UpdateOption

type UpdateOption func(*UpdateOptions)

type UpdateOptions

type UpdateOptions struct {
	Name    string
	Enabled bool
	// 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 []interface{}
	NewKey  string
	// contains filtered or unexported fields
}

func (UpdatePointColumnOptions) New

type UpdatePolygonColumnOption

type UpdatePolygonColumnOption func(*UpdatePolygonColumnOptions)

type UpdatePolygonColumnOptions

type UpdatePolygonColumnOptions struct {
	Default []interface{}
	NewKey  string
	// contains filtered or unexported fields
}

func (UpdatePolygonColumnOptions) New

type UpdateRelationshipColumnOption

type UpdateRelationshipColumnOption func(*UpdateRelationshipColumnOptions)

type UpdateRelationshipColumnOptions

type UpdateRelationshipColumnOptions struct {
	OnDelete string
	NewKey   string
	// contains filtered or unexported fields
}

func (UpdateRelationshipColumnOptions) New

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

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

type UpdateTransactionOption

type UpdateTransactionOption func(*UpdateTransactionOptions)

type UpdateTransactionOptions

type UpdateTransactionOptions struct {
	Commit   bool
	Rollback bool
	// contains filtered or unexported fields
}

func (UpdateTransactionOptions) New

type UpdateUrlColumnOption

type UpdateUrlColumnOption func(*UpdateUrlColumnOptions)

type UpdateUrlColumnOptions

type UpdateUrlColumnOptions struct {
	NewKey string
	// contains filtered or unexported fields
}

func (UpdateUrlColumnOptions) New

type UpdateVarcharColumnOption

type UpdateVarcharColumnOption func(*UpdateVarcharColumnOptions)

type UpdateVarcharColumnOptions

type UpdateVarcharColumnOptions struct {
	Size   int
	NewKey string
	// contains filtered or unexported fields
}

func (UpdateVarcharColumnOptions) New

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL