Documentation
¶
Index ¶
- type CreateBooleanAttributeOption
- type CreateBooleanAttributeOptions
- type CreateCollectionOption
- type CreateCollectionOptions
- type CreateDatetimeAttributeOption
- type CreateDatetimeAttributeOptions
- type CreateDocumentOption
- type CreateDocumentOptions
- type CreateEmailAttributeOption
- type CreateEmailAttributeOptions
- type CreateEnumAttributeOption
- type CreateEnumAttributeOptions
- type CreateFloatAttributeOption
- type CreateFloatAttributeOptions
- type CreateIndexOption
- type CreateIndexOptions
- type CreateIntegerAttributeOption
- type CreateIntegerAttributeOptions
- type CreateIpAttributeOption
- type CreateIpAttributeOptions
- type CreateLineAttributeOption
- type CreateLineAttributeOptions
- type CreateOption
- type CreateOptions
- type CreatePointAttributeOption
- type CreatePointAttributeOptions
- type CreatePolygonAttributeOption
- type CreatePolygonAttributeOptions
- type CreateRelationshipAttributeOption
- type CreateRelationshipAttributeOptions
- type CreateStringAttributeOption
- type CreateStringAttributeOptions
- type CreateUrlAttributeOption
- type CreateUrlAttributeOptions
- type Databases
- func (srv *Databases) Create(DatabaseId string, Name string, optionalSetters ...CreateOption) (*models.Database, error)deprecated
- func (srv *Databases) CreateBooleanAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeBoolean, error)deprecated
- func (srv *Databases) CreateCollection(DatabaseId string, CollectionId string, Name string, ...) (*models.Collection, error)deprecated
- func (srv *Databases) CreateDatetimeAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeDatetime, error)deprecated
- func (srv *Databases) CreateDocument(DatabaseId string, CollectionId string, DocumentId string, Data interface{}, ...) (*models.Document, error)deprecated
- func (srv *Databases) CreateDocuments(DatabaseId string, CollectionId string, Documents []interface{}) (*models.DocumentList, error)deprecated
- func (srv *Databases) CreateEmailAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeEmail, error)deprecated
- func (srv *Databases) CreateEnumAttribute(DatabaseId string, CollectionId string, Key string, Elements []string, ...) (*models.AttributeEnum, error)deprecated
- func (srv *Databases) CreateFloatAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeFloat, error)deprecated
- func (srv *Databases) CreateIndex(DatabaseId string, CollectionId string, Key string, Type string, ...) (*models.Index, error)deprecated
- func (srv *Databases) CreateIntegerAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeInteger, error)deprecated
- func (srv *Databases) CreateIpAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeIp, error)deprecated
- func (srv *Databases) CreateLineAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeLine, error)deprecated
- func (srv *Databases) CreatePointAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributePoint, error)deprecated
- func (srv *Databases) CreatePolygonAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributePolygon, error)deprecated
- func (srv *Databases) CreateRelationshipAttribute(DatabaseId string, CollectionId string, RelatedCollectionId string, ...) (*models.AttributeRelationship, error)deprecated
- func (srv *Databases) CreateStringAttribute(DatabaseId string, CollectionId string, Key string, Size int, Required bool, ...) (*models.AttributeString, error)deprecated
- func (srv *Databases) CreateUrlAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeUrl, error)deprecated
- func (srv *Databases) DecrementDocumentAttribute(DatabaseId string, CollectionId string, DocumentId string, Attribute string, ...) (*models.Document, error)deprecated
- func (srv *Databases) Delete(DatabaseId string) (*interface{}, error)deprecated
- func (srv *Databases) DeleteAttribute(DatabaseId string, CollectionId string, Key string) (*interface{}, error)deprecated
- func (srv *Databases) DeleteCollection(DatabaseId string, CollectionId string) (*interface{}, error)deprecated
- func (srv *Databases) DeleteDocument(DatabaseId string, CollectionId string, DocumentId string) (*interface{}, error)deprecated
- func (srv *Databases) DeleteDocuments(DatabaseId string, CollectionId string, ...) (*models.DocumentList, error)deprecated
- func (srv *Databases) DeleteIndex(DatabaseId string, CollectionId string, Key string) (*interface{}, error)deprecated
- func (srv *Databases) Get(DatabaseId string) (*models.Database, error)deprecated
- func (srv *Databases) GetAttribute(DatabaseId string, CollectionId string, Key string) (*interface{}, error)deprecated
- func (srv *Databases) GetCollection(DatabaseId string, CollectionId string) (*models.Collection, error)deprecated
- func (srv *Databases) GetDocument(DatabaseId string, CollectionId string, DocumentId string, ...) (*models.Document, error)deprecated
- func (srv *Databases) GetIndex(DatabaseId string, CollectionId string, Key string) (*models.Index, error)deprecated
- func (srv *Databases) IncrementDocumentAttribute(DatabaseId string, CollectionId string, DocumentId string, Attribute string, ...) (*models.Document, error)deprecated
- func (srv *Databases) List(optionalSetters ...ListOption) (*models.DatabaseList, error)deprecated
- func (srv *Databases) ListAttributes(DatabaseId string, CollectionId string, ...) (*models.AttributeList, error)deprecated
- func (srv *Databases) ListCollections(DatabaseId string, optionalSetters ...ListCollectionsOption) (*models.CollectionList, error)deprecated
- func (srv *Databases) ListDocuments(DatabaseId string, CollectionId string, optionalSetters ...ListDocumentsOption) (*models.DocumentList, error)deprecated
- func (srv *Databases) ListIndexes(DatabaseId string, CollectionId string, optionalSetters ...ListIndexesOption) (*models.IndexList, error)deprecated
- func (srv *Databases) Update(DatabaseId string, Name string, optionalSetters ...UpdateOption) (*models.Database, error)deprecated
- func (srv *Databases) UpdateBooleanAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeBoolean, error)deprecated
- func (srv *Databases) UpdateCollection(DatabaseId string, CollectionId string, Name string, ...) (*models.Collection, error)deprecated
- func (srv *Databases) UpdateDatetimeAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeDatetime, error)deprecated
- func (srv *Databases) UpdateDocument(DatabaseId string, CollectionId string, DocumentId string, ...) (*models.Document, error)deprecated
- func (srv *Databases) UpdateDocuments(DatabaseId string, CollectionId string, ...) (*models.DocumentList, error)deprecated
- func (srv *Databases) UpdateEmailAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeEmail, error)deprecated
- func (srv *Databases) UpdateEnumAttribute(DatabaseId string, CollectionId string, Key string, Elements []string, ...) (*models.AttributeEnum, error)deprecated
- func (srv *Databases) UpdateFloatAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeFloat, error)deprecated
- func (srv *Databases) UpdateIntegerAttribute(DatabaseId string, CollectionId string, Key string, Required bool, Default int, ...) (*models.AttributeInteger, error)deprecated
- func (srv *Databases) UpdateIpAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeIp, error)deprecated
- func (srv *Databases) UpdateLineAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeLine, error)deprecated
- func (srv *Databases) UpdatePointAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributePoint, error)deprecated
- func (srv *Databases) UpdatePolygonAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributePolygon, error)deprecated
- func (srv *Databases) UpdateRelationshipAttribute(DatabaseId string, CollectionId string, Key string, ...) (*models.AttributeRelationship, error)deprecated
- func (srv *Databases) UpdateStringAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeString, error)deprecated
- func (srv *Databases) UpdateUrlAttribute(DatabaseId string, CollectionId string, Key string, Required bool, ...) (*models.AttributeUrl, error)deprecated
- func (srv *Databases) UpsertDocument(DatabaseId string, CollectionId string, DocumentId string, Data interface{}, ...) (*models.Document, error)deprecated
- func (srv *Databases) UpsertDocuments(DatabaseId string, CollectionId string, Documents []interface{}) (*models.DocumentList, error)deprecated
- func (srv *Databases) WithCreateBooleanAttributeArray(v bool) CreateBooleanAttributeOption
- func (srv *Databases) WithCreateBooleanAttributeDefault(v bool) CreateBooleanAttributeOption
- func (srv *Databases) WithCreateCollectionDocumentSecurity(v bool) CreateCollectionOption
- func (srv *Databases) WithCreateCollectionEnabled(v bool) CreateCollectionOption
- func (srv *Databases) WithCreateCollectionPermissions(v []string) CreateCollectionOption
- func (srv *Databases) WithCreateDatetimeAttributeArray(v bool) CreateDatetimeAttributeOption
- func (srv *Databases) WithCreateDatetimeAttributeDefault(v string) CreateDatetimeAttributeOption
- func (srv *Databases) WithCreateDocumentPermissions(v []string) CreateDocumentOption
- func (srv *Databases) WithCreateEmailAttributeArray(v bool) CreateEmailAttributeOption
- func (srv *Databases) WithCreateEmailAttributeDefault(v string) CreateEmailAttributeOption
- func (srv *Databases) WithCreateEnabled(v bool) CreateOption
- func (srv *Databases) WithCreateEnumAttributeArray(v bool) CreateEnumAttributeOption
- func (srv *Databases) WithCreateEnumAttributeDefault(v string) CreateEnumAttributeOption
- func (srv *Databases) WithCreateFloatAttributeArray(v bool) CreateFloatAttributeOption
- func (srv *Databases) WithCreateFloatAttributeDefault(v float64) CreateFloatAttributeOption
- func (srv *Databases) WithCreateFloatAttributeMax(v float64) CreateFloatAttributeOption
- func (srv *Databases) WithCreateFloatAttributeMin(v float64) CreateFloatAttributeOption
- func (srv *Databases) WithCreateIndexLengths(v []int) CreateIndexOption
- func (srv *Databases) WithCreateIndexOrders(v []string) CreateIndexOption
- func (srv *Databases) WithCreateIntegerAttributeArray(v bool) CreateIntegerAttributeOption
- func (srv *Databases) WithCreateIntegerAttributeDefault(v int) CreateIntegerAttributeOption
- func (srv *Databases) WithCreateIntegerAttributeMax(v int) CreateIntegerAttributeOption
- func (srv *Databases) WithCreateIntegerAttributeMin(v int) CreateIntegerAttributeOption
- func (srv *Databases) WithCreateIpAttributeArray(v bool) CreateIpAttributeOption
- func (srv *Databases) WithCreateIpAttributeDefault(v string) CreateIpAttributeOption
- func (srv *Databases) WithCreateLineAttributeDefault(v []interface{}) CreateLineAttributeOption
- func (srv *Databases) WithCreatePointAttributeDefault(v []interface{}) CreatePointAttributeOption
- func (srv *Databases) WithCreatePolygonAttributeDefault(v []interface{}) CreatePolygonAttributeOption
- func (srv *Databases) WithCreateRelationshipAttributeKey(v string) CreateRelationshipAttributeOption
- func (srv *Databases) WithCreateRelationshipAttributeOnDelete(v string) CreateRelationshipAttributeOption
- func (srv *Databases) WithCreateRelationshipAttributeTwoWay(v bool) CreateRelationshipAttributeOption
- func (srv *Databases) WithCreateRelationshipAttributeTwoWayKey(v string) CreateRelationshipAttributeOption
- func (srv *Databases) WithCreateStringAttributeArray(v bool) CreateStringAttributeOption
- func (srv *Databases) WithCreateStringAttributeDefault(v string) CreateStringAttributeOption
- func (srv *Databases) WithCreateStringAttributeEncrypt(v bool) CreateStringAttributeOption
- func (srv *Databases) WithCreateUrlAttributeArray(v bool) CreateUrlAttributeOption
- func (srv *Databases) WithCreateUrlAttributeDefault(v string) CreateUrlAttributeOption
- func (srv *Databases) WithDecrementDocumentAttributeMin(v float64) DecrementDocumentAttributeOption
- func (srv *Databases) WithDecrementDocumentAttributeValue(v float64) DecrementDocumentAttributeOption
- func (srv *Databases) WithDeleteDocumentsQueries(v []string) DeleteDocumentsOption
- func (srv *Databases) WithGetDocumentQueries(v []string) GetDocumentOption
- func (srv *Databases) WithIncrementDocumentAttributeMax(v float64) IncrementDocumentAttributeOption
- func (srv *Databases) WithIncrementDocumentAttributeValue(v float64) IncrementDocumentAttributeOption
- func (srv *Databases) WithListAttributesQueries(v []string) ListAttributesOption
- func (srv *Databases) WithListCollectionsQueries(v []string) ListCollectionsOption
- func (srv *Databases) WithListCollectionsSearch(v string) ListCollectionsOption
- func (srv *Databases) WithListDocumentsQueries(v []string) ListDocumentsOption
- func (srv *Databases) WithListIndexesQueries(v []string) ListIndexesOption
- func (srv *Databases) WithListQueries(v []string) ListOption
- func (srv *Databases) WithListSearch(v string) ListOption
- func (srv *Databases) WithUpdateBooleanAttributeNewKey(v string) UpdateBooleanAttributeOption
- func (srv *Databases) WithUpdateCollectionDocumentSecurity(v bool) UpdateCollectionOption
- func (srv *Databases) WithUpdateCollectionEnabled(v bool) UpdateCollectionOption
- func (srv *Databases) WithUpdateCollectionPermissions(v []string) UpdateCollectionOption
- func (srv *Databases) WithUpdateDatetimeAttributeNewKey(v string) UpdateDatetimeAttributeOption
- func (srv *Databases) WithUpdateDocumentData(v interface{}) UpdateDocumentOption
- func (srv *Databases) WithUpdateDocumentPermissions(v []string) UpdateDocumentOption
- func (srv *Databases) WithUpdateDocumentsData(v interface{}) UpdateDocumentsOption
- func (srv *Databases) WithUpdateDocumentsQueries(v []string) UpdateDocumentsOption
- func (srv *Databases) WithUpdateEmailAttributeNewKey(v string) UpdateEmailAttributeOption
- func (srv *Databases) WithUpdateEnabled(v bool) UpdateOption
- func (srv *Databases) WithUpdateEnumAttributeNewKey(v string) UpdateEnumAttributeOption
- func (srv *Databases) WithUpdateFloatAttributeMax(v float64) UpdateFloatAttributeOption
- func (srv *Databases) WithUpdateFloatAttributeMin(v float64) UpdateFloatAttributeOption
- func (srv *Databases) WithUpdateFloatAttributeNewKey(v string) UpdateFloatAttributeOption
- func (srv *Databases) WithUpdateIntegerAttributeMax(v int) UpdateIntegerAttributeOption
- func (srv *Databases) WithUpdateIntegerAttributeMin(v int) UpdateIntegerAttributeOption
- func (srv *Databases) WithUpdateIntegerAttributeNewKey(v string) UpdateIntegerAttributeOption
- func (srv *Databases) WithUpdateIpAttributeNewKey(v string) UpdateIpAttributeOption
- func (srv *Databases) WithUpdateLineAttributeDefault(v []interface{}) UpdateLineAttributeOption
- func (srv *Databases) WithUpdateLineAttributeNewKey(v string) UpdateLineAttributeOption
- func (srv *Databases) WithUpdatePointAttributeDefault(v []interface{}) UpdatePointAttributeOption
- func (srv *Databases) WithUpdatePointAttributeNewKey(v string) UpdatePointAttributeOption
- func (srv *Databases) WithUpdatePolygonAttributeDefault(v []interface{}) UpdatePolygonAttributeOption
- func (srv *Databases) WithUpdatePolygonAttributeNewKey(v string) UpdatePolygonAttributeOption
- func (srv *Databases) WithUpdateRelationshipAttributeNewKey(v string) UpdateRelationshipAttributeOption
- func (srv *Databases) WithUpdateRelationshipAttributeOnDelete(v string) UpdateRelationshipAttributeOption
- func (srv *Databases) WithUpdateStringAttributeNewKey(v string) UpdateStringAttributeOption
- func (srv *Databases) WithUpdateStringAttributeSize(v int) UpdateStringAttributeOption
- func (srv *Databases) WithUpdateUrlAttributeNewKey(v string) UpdateUrlAttributeOption
- func (srv *Databases) WithUpsertDocumentPermissions(v []string) UpsertDocumentOption
- type DecrementDocumentAttributeOption
- type DecrementDocumentAttributeOptions
- type DeleteDocumentsOption
- type DeleteDocumentsOptions
- type GetDocumentOption
- type GetDocumentOptions
- type IncrementDocumentAttributeOption
- type IncrementDocumentAttributeOptions
- type ListAttributesOption
- type ListAttributesOptions
- type ListCollectionsOption
- type ListCollectionsOptions
- type ListDocumentsOption
- type ListDocumentsOptions
- type ListIndexesOption
- type ListIndexesOptions
- type ListOption
- type ListOptions
- type UpdateBooleanAttributeOption
- type UpdateBooleanAttributeOptions
- type UpdateCollectionOption
- type UpdateCollectionOptions
- type UpdateDatetimeAttributeOption
- type UpdateDatetimeAttributeOptions
- type UpdateDocumentOption
- type UpdateDocumentOptions
- type UpdateDocumentsOption
- type UpdateDocumentsOptions
- type UpdateEmailAttributeOption
- type UpdateEmailAttributeOptions
- type UpdateEnumAttributeOption
- type UpdateEnumAttributeOptions
- type UpdateFloatAttributeOption
- type UpdateFloatAttributeOptions
- type UpdateIntegerAttributeOption
- type UpdateIntegerAttributeOptions
- type UpdateIpAttributeOption
- type UpdateIpAttributeOptions
- type UpdateLineAttributeOption
- type UpdateLineAttributeOptions
- type UpdateOption
- type UpdateOptions
- type UpdatePointAttributeOption
- type UpdatePointAttributeOptions
- type UpdatePolygonAttributeOption
- type UpdatePolygonAttributeOptions
- type UpdateRelationshipAttributeOption
- type UpdateRelationshipAttributeOptions
- type UpdateStringAttributeOption
- type UpdateStringAttributeOptions
- type UpdateUrlAttributeOption
- type UpdateUrlAttributeOptions
- type UpsertDocumentOption
- type UpsertDocumentOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateBooleanAttributeOption ¶
type CreateBooleanAttributeOption func(*CreateBooleanAttributeOptions)
type CreateBooleanAttributeOptions ¶
type CreateBooleanAttributeOptions struct { Default bool Array bool // contains filtered or unexported fields }
func (CreateBooleanAttributeOptions) New ¶
func (options CreateBooleanAttributeOptions) New() *CreateBooleanAttributeOptions
type CreateCollectionOption ¶
type CreateCollectionOption func(*CreateCollectionOptions)
type CreateCollectionOptions ¶
type CreateCollectionOptions struct { Permissions []string DocumentSecurity bool Enabled bool // contains filtered or unexported fields }
func (CreateCollectionOptions) New ¶
func (options CreateCollectionOptions) New() *CreateCollectionOptions
type CreateDatetimeAttributeOption ¶
type CreateDatetimeAttributeOption func(*CreateDatetimeAttributeOptions)
type CreateDatetimeAttributeOptions ¶
type CreateDatetimeAttributeOptions struct { Default string Array bool // contains filtered or unexported fields }
func (CreateDatetimeAttributeOptions) New ¶
func (options CreateDatetimeAttributeOptions) New() *CreateDatetimeAttributeOptions
type CreateDocumentOption ¶
type CreateDocumentOption func(*CreateDocumentOptions)
type CreateDocumentOptions ¶
type CreateDocumentOptions struct { Permissions []string // contains filtered or unexported fields }
func (CreateDocumentOptions) New ¶
func (options CreateDocumentOptions) New() *CreateDocumentOptions
type CreateEmailAttributeOption ¶
type CreateEmailAttributeOption func(*CreateEmailAttributeOptions)
type CreateEmailAttributeOptions ¶
type CreateEmailAttributeOptions struct { Default string Array bool // contains filtered or unexported fields }
func (CreateEmailAttributeOptions) New ¶
func (options CreateEmailAttributeOptions) New() *CreateEmailAttributeOptions
type CreateEnumAttributeOption ¶
type CreateEnumAttributeOption func(*CreateEnumAttributeOptions)
type CreateEnumAttributeOptions ¶
type CreateEnumAttributeOptions struct { Default string Array bool // contains filtered or unexported fields }
func (CreateEnumAttributeOptions) New ¶
func (options CreateEnumAttributeOptions) New() *CreateEnumAttributeOptions
type CreateFloatAttributeOption ¶
type CreateFloatAttributeOption func(*CreateFloatAttributeOptions)
type CreateFloatAttributeOptions ¶
type CreateFloatAttributeOptions struct { Min float64 Max float64 Default float64 Array bool // contains filtered or unexported fields }
func (CreateFloatAttributeOptions) New ¶
func (options CreateFloatAttributeOptions) New() *CreateFloatAttributeOptions
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 CreateIntegerAttributeOption ¶
type CreateIntegerAttributeOption func(*CreateIntegerAttributeOptions)
type CreateIntegerAttributeOptions ¶
type CreateIntegerAttributeOptions struct { Min int Max int Default int Array bool // contains filtered or unexported fields }
func (CreateIntegerAttributeOptions) New ¶
func (options CreateIntegerAttributeOptions) New() *CreateIntegerAttributeOptions
type CreateIpAttributeOption ¶
type CreateIpAttributeOption func(*CreateIpAttributeOptions)
type CreateIpAttributeOptions ¶
type CreateIpAttributeOptions struct { Default string Array bool // contains filtered or unexported fields }
func (CreateIpAttributeOptions) New ¶
func (options CreateIpAttributeOptions) New() *CreateIpAttributeOptions
type CreateLineAttributeOption ¶ added in v0.11.0
type CreateLineAttributeOption func(*CreateLineAttributeOptions)
type CreateLineAttributeOptions ¶ added in v0.11.0
type CreateLineAttributeOptions struct { Default []interface{} // contains filtered or unexported fields }
func (CreateLineAttributeOptions) New ¶ added in v0.11.0
func (options CreateLineAttributeOptions) New() *CreateLineAttributeOptions
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 CreatePointAttributeOption ¶ added in v0.11.0
type CreatePointAttributeOption func(*CreatePointAttributeOptions)
type CreatePointAttributeOptions ¶ added in v0.11.0
type CreatePointAttributeOptions struct { Default []interface{} // contains filtered or unexported fields }
func (CreatePointAttributeOptions) New ¶ added in v0.11.0
func (options CreatePointAttributeOptions) New() *CreatePointAttributeOptions
type CreatePolygonAttributeOption ¶ added in v0.11.0
type CreatePolygonAttributeOption func(*CreatePolygonAttributeOptions)
type CreatePolygonAttributeOptions ¶ added in v0.11.0
type CreatePolygonAttributeOptions struct { Default []interface{} // contains filtered or unexported fields }
func (CreatePolygonAttributeOptions) New ¶ added in v0.11.0
func (options CreatePolygonAttributeOptions) New() *CreatePolygonAttributeOptions
type CreateRelationshipAttributeOption ¶
type CreateRelationshipAttributeOption func(*CreateRelationshipAttributeOptions)
type CreateRelationshipAttributeOptions ¶
type CreateRelationshipAttributeOptions struct { TwoWay bool Key string TwoWayKey string OnDelete string // contains filtered or unexported fields }
func (CreateRelationshipAttributeOptions) New ¶
func (options CreateRelationshipAttributeOptions) New() *CreateRelationshipAttributeOptions
type CreateStringAttributeOption ¶
type CreateStringAttributeOption func(*CreateStringAttributeOptions)
type CreateStringAttributeOptions ¶
type CreateStringAttributeOptions struct { Default string Array bool Encrypt bool // contains filtered or unexported fields }
func (CreateStringAttributeOptions) New ¶
func (options CreateStringAttributeOptions) New() *CreateStringAttributeOptions
type CreateUrlAttributeOption ¶
type CreateUrlAttributeOption func(*CreateUrlAttributeOptions)
type CreateUrlAttributeOptions ¶
type CreateUrlAttributeOptions struct { Default string Array bool // contains filtered or unexported fields }
func (CreateUrlAttributeOptions) New ¶
func (options CreateUrlAttributeOptions) New() *CreateUrlAttributeOptions
type Databases ¶
type Databases struct {
// contains filtered or unexported fields
}
Databases service
func (*Databases) CreateBooleanAttribute
deprecated
func (srv *Databases) CreateBooleanAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...CreateBooleanAttributeOption) (*models.AttributeBoolean, error)
CreateBooleanAttribute create a boolean attribute.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createBooleanColumn` instead.
func (*Databases) CreateCollection
deprecated
func (srv *Databases) CreateCollection(DatabaseId string, CollectionId string, Name string, optionalSetters ...CreateCollectionOption) (*models.Collection, error)
CreateCollection create a new Collection. Before using this route, you should create a new database resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection) API or directly from your database console.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createTable` instead.
func (*Databases) CreateDatetimeAttribute
deprecated
func (srv *Databases) CreateDatetimeAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...CreateDatetimeAttributeOption) (*models.AttributeDatetime, error)
CreateDatetimeAttribute create a date time attribute according to the ISO 8601 standard.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createDatetimeColumn` instead.
func (*Databases) CreateDocument
deprecated
func (srv *Databases) CreateDocument(DatabaseId string, CollectionId string, DocumentId string, Data interface{}, optionalSetters ...CreateDocumentOption) (*models.Document, error)
CreateDocument create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection) API or directly from your database console.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createRow` instead.
func (*Databases) CreateDocuments
deprecated
added in
v0.7.0
func (srv *Databases) CreateDocuments(DatabaseId string, CollectionId string, Documents []interface{}) (*models.DocumentList, error)
CreateDocuments create new Documents. Before using this route, you should create a new collection resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection) API or directly from your database console.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createRows` instead.
func (*Databases) CreateEmailAttribute
deprecated
func (srv *Databases) CreateEmailAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...CreateEmailAttributeOption) (*models.AttributeEmail, error)
CreateEmailAttribute create an email attribute.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createEmailColumn` instead.
func (*Databases) CreateEnumAttribute
deprecated
func (srv *Databases) CreateEnumAttribute(DatabaseId string, CollectionId string, Key string, Elements []string, Required bool, optionalSetters ...CreateEnumAttributeOption) (*models.AttributeEnum, error)
CreateEnumAttribute create an enum attribute. The `elements` param acts as a white-list of accepted values for this attribute.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createEnumColumn` instead.
func (*Databases) CreateFloatAttribute
deprecated
func (srv *Databases) CreateFloatAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...CreateFloatAttributeOption) (*models.AttributeFloat, error)
CreateFloatAttribute create a float attribute. Optionally, minimum and maximum values can be provided.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createFloatColumn` instead.
func (*Databases) CreateIndex
deprecated
func (srv *Databases) CreateIndex(DatabaseId string, CollectionId string, Key string, Type string, Attributes []string, optionalSetters ...CreateIndexOption) (*models.Index, error)
CreateIndex creates an index on the attributes listed. Your index should include all the attributes you will query in a single request. Attributes can be `key`, `fulltext`, and `unique`.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createIndex` instead.
func (*Databases) CreateIntegerAttribute
deprecated
func (srv *Databases) CreateIntegerAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...CreateIntegerAttributeOption) (*models.AttributeInteger, error)
CreateIntegerAttribute create an integer attribute. Optionally, minimum and maximum values can be provided.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createIntegerColumn` instead.
func (*Databases) CreateIpAttribute
deprecated
func (srv *Databases) CreateIpAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...CreateIpAttributeOption) (*models.AttributeIp, error)
CreateIpAttribute create IP address attribute.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createIpColumn` instead.
func (*Databases) CreateLineAttribute
deprecated
added in
v0.11.0
func (srv *Databases) CreateLineAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...CreateLineAttributeOption) (*models.AttributeLine, error)
CreateLineAttribute create a geometric line attribute.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createLineColumn` instead.
func (*Databases) CreatePointAttribute
deprecated
added in
v0.11.0
func (srv *Databases) CreatePointAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...CreatePointAttributeOption) (*models.AttributePoint, error)
CreatePointAttribute create a geometric point attribute.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createPointColumn` instead.
func (*Databases) CreatePolygonAttribute
deprecated
added in
v0.11.0
func (srv *Databases) CreatePolygonAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...CreatePolygonAttributeOption) (*models.AttributePolygon, error)
CreatePolygonAttribute create a geometric polygon attribute.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createPolygonColumn` instead.
func (*Databases) CreateRelationshipAttribute
deprecated
func (srv *Databases) CreateRelationshipAttribute(DatabaseId string, CollectionId string, RelatedCollectionId string, Type string, optionalSetters ...CreateRelationshipAttributeOption) (*models.AttributeRelationship, error)
CreateRelationshipAttribute create relationship attribute. [Learn more about relationship attributes](https://appwrite.io/docs/databases-relationships#relationship-attributes).
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createRelationshipColumn` instead.
func (*Databases) CreateStringAttribute
deprecated
func (srv *Databases) CreateStringAttribute(DatabaseId string, CollectionId string, Key string, Size int, Required bool, optionalSetters ...CreateStringAttributeOption) (*models.AttributeString, error)
CreateStringAttribute create a string attribute.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createStringColumn` instead.
func (*Databases) CreateUrlAttribute
deprecated
func (srv *Databases) CreateUrlAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...CreateUrlAttributeOption) (*models.AttributeUrl, error)
CreateUrlAttribute create a URL attribute.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.createUrlColumn` instead.
func (*Databases) DecrementDocumentAttribute
deprecated
added in
v0.8.0
func (srv *Databases) DecrementDocumentAttribute(DatabaseId string, CollectionId string, DocumentId string, Attribute string, optionalSetters ...DecrementDocumentAttributeOption) (*models.Document, error)
DecrementDocumentAttribute decrement a specific attribute of a document by a given value.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.decrementRowColumn` instead.
func (*Databases) Delete
deprecated
func (*Databases) DeleteCollection
deprecated
func (srv *Databases) DeleteCollection(DatabaseId string, CollectionId string) (*interface{}, error)
DeleteCollection delete a collection by its unique ID. Only users with write permissions have access to delete this resource.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.deleteTable` instead.
func (*Databases) DeleteDocument
deprecated
func (*Databases) DeleteDocuments
deprecated
added in
v0.7.0
func (srv *Databases) DeleteDocuments(DatabaseId string, CollectionId string, optionalSetters ...DeleteDocumentsOption) (*models.DocumentList, error)
DeleteDocuments bulk delete documents using queries, if no queries are passed then all documents are deleted.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.deleteRows` instead.
func (*Databases) Get
deprecated
func (*Databases) GetCollection
deprecated
func (srv *Databases) GetCollection(DatabaseId string, CollectionId string) (*models.Collection, error)
GetCollection get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.getTable` instead.
func (*Databases) GetDocument
deprecated
func (srv *Databases) GetDocument(DatabaseId string, CollectionId string, DocumentId string, optionalSetters ...GetDocumentOption) (*models.Document, error)
GetDocument get a document by its unique ID. This endpoint response returns a JSON object with the document data.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.getRow` instead.
func (*Databases) IncrementDocumentAttribute
deprecated
added in
v0.8.0
func (srv *Databases) IncrementDocumentAttribute(DatabaseId string, CollectionId string, DocumentId string, Attribute string, optionalSetters ...IncrementDocumentAttributeOption) (*models.Document, error)
IncrementDocumentAttribute increment a specific attribute of a document by a given value.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.incrementRowColumn` instead.
func (*Databases) List
deprecated
func (srv *Databases) 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.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.list` instead.
func (*Databases) ListAttributes
deprecated
func (srv *Databases) ListAttributes(DatabaseId string, CollectionId string, optionalSetters ...ListAttributesOption) (*models.AttributeList, error)
ListAttributes list attributes in the collection.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.listColumns` instead.
func (*Databases) ListCollections
deprecated
func (srv *Databases) ListCollections(DatabaseId string, optionalSetters ...ListCollectionsOption) (*models.CollectionList, error)
ListCollections get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.listTables` instead.
func (*Databases) ListDocuments
deprecated
func (srv *Databases) ListDocuments(DatabaseId string, CollectionId string, optionalSetters ...ListDocumentsOption) (*models.DocumentList, error)
ListDocuments get a list of all the user's documents in a given collection. You can use the query params to filter your results.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.listRows` instead.
func (*Databases) ListIndexes
deprecated
func (*Databases) UpdateBooleanAttribute
deprecated
func (srv *Databases) UpdateBooleanAttribute(DatabaseId string, CollectionId string, Key string, Required bool, Default bool, optionalSetters ...UpdateBooleanAttributeOption) (*models.AttributeBoolean, error)
UpdateBooleanAttribute update a boolean attribute. Changing the `default` value will not update already existing documents.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateBooleanColumn` instead.
func (*Databases) UpdateCollection
deprecated
func (srv *Databases) UpdateCollection(DatabaseId string, CollectionId string, Name string, optionalSetters ...UpdateCollectionOption) (*models.Collection, error)
UpdateCollection update a collection by its unique ID.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateTable` instead.
func (*Databases) UpdateDatetimeAttribute
deprecated
func (srv *Databases) UpdateDatetimeAttribute(DatabaseId string, CollectionId string, Key string, Required bool, Default string, optionalSetters ...UpdateDatetimeAttributeOption) (*models.AttributeDatetime, error)
UpdateDatetimeAttribute update a date time attribute. Changing the `default` value will not update already existing documents.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateDatetimeColumn` instead.
func (*Databases) UpdateDocument
deprecated
func (srv *Databases) UpdateDocument(DatabaseId string, CollectionId string, DocumentId string, optionalSetters ...UpdateDocumentOption) (*models.Document, error)
UpdateDocument update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateRow` instead.
func (*Databases) UpdateDocuments
deprecated
added in
v0.7.0
func (srv *Databases) UpdateDocuments(DatabaseId string, CollectionId string, optionalSetters ...UpdateDocumentsOption) (*models.DocumentList, error)
UpdateDocuments update all documents that match your queries, if no queries are submitted then all documents are updated. You can pass only specific fields to be updated.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateRows` instead.
func (*Databases) UpdateEmailAttribute
deprecated
func (srv *Databases) UpdateEmailAttribute(DatabaseId string, CollectionId string, Key string, Required bool, Default string, optionalSetters ...UpdateEmailAttributeOption) (*models.AttributeEmail, error)
UpdateEmailAttribute update an email attribute. Changing the `default` value will not update already existing documents.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateEmailColumn` instead.
func (*Databases) UpdateEnumAttribute
deprecated
func (srv *Databases) UpdateEnumAttribute(DatabaseId string, CollectionId string, Key string, Elements []string, Required bool, Default string, optionalSetters ...UpdateEnumAttributeOption) (*models.AttributeEnum, error)
UpdateEnumAttribute update an enum attribute. Changing the `default` value will not update already existing documents.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateEnumColumn` instead.
func (*Databases) UpdateFloatAttribute
deprecated
func (srv *Databases) UpdateFloatAttribute(DatabaseId string, CollectionId string, Key string, Required bool, Default float64, optionalSetters ...UpdateFloatAttributeOption) (*models.AttributeFloat, error)
UpdateFloatAttribute update a float attribute. Changing the `default` value will not update already existing documents.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateFloatColumn` instead.
func (*Databases) UpdateIntegerAttribute
deprecated
func (srv *Databases) UpdateIntegerAttribute(DatabaseId string, CollectionId string, Key string, Required bool, Default int, optionalSetters ...UpdateIntegerAttributeOption) (*models.AttributeInteger, error)
UpdateIntegerAttribute update an integer attribute. Changing the `default` value will not update already existing documents.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateIntegerColumn` instead.
func (*Databases) UpdateIpAttribute
deprecated
func (srv *Databases) UpdateIpAttribute(DatabaseId string, CollectionId string, Key string, Required bool, Default string, optionalSetters ...UpdateIpAttributeOption) (*models.AttributeIp, error)
UpdateIpAttribute update an ip attribute. Changing the `default` value will not update already existing documents.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateIpColumn` instead.
func (*Databases) UpdateLineAttribute
deprecated
added in
v0.11.0
func (srv *Databases) UpdateLineAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...UpdateLineAttributeOption) (*models.AttributeLine, error)
UpdateLineAttribute update a line attribute. Changing the `default` value will not update already existing documents.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateLineColumn` instead.
func (*Databases) UpdatePointAttribute
deprecated
added in
v0.11.0
func (srv *Databases) UpdatePointAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...UpdatePointAttributeOption) (*models.AttributePoint, error)
UpdatePointAttribute update a point attribute. Changing the `default` value will not update already existing documents.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updatePointColumn` instead.
func (*Databases) UpdatePolygonAttribute
deprecated
added in
v0.11.0
func (srv *Databases) UpdatePolygonAttribute(DatabaseId string, CollectionId string, Key string, Required bool, optionalSetters ...UpdatePolygonAttributeOption) (*models.AttributePolygon, error)
UpdatePolygonAttribute update a polygon attribute. Changing the `default` value will not update already existing documents.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updatePolygonColumn` instead.
func (*Databases) UpdateRelationshipAttribute
deprecated
func (srv *Databases) UpdateRelationshipAttribute(DatabaseId string, CollectionId string, Key string, optionalSetters ...UpdateRelationshipAttributeOption) (*models.AttributeRelationship, error)
UpdateRelationshipAttribute update relationship attribute. [Learn more about relationship attributes](https://appwrite.io/docs/databases-relationships#relationship-attributes).
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateRelationshipColumn` instead.
func (*Databases) UpdateStringAttribute
deprecated
func (srv *Databases) UpdateStringAttribute(DatabaseId string, CollectionId string, Key string, Required bool, Default string, optionalSetters ...UpdateStringAttributeOption) (*models.AttributeString, error)
UpdateStringAttribute update a string attribute. Changing the `default` value will not update already existing documents.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateStringColumn` instead.
func (*Databases) UpdateUrlAttribute
deprecated
func (srv *Databases) UpdateUrlAttribute(DatabaseId string, CollectionId string, Key string, Required bool, Default string, optionalSetters ...UpdateUrlAttributeOption) (*models.AttributeUrl, error)
UpdateUrlAttribute update an url attribute. Changing the `default` value will not update already existing documents.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.updateUrlColumn` instead.
func (*Databases) UpsertDocument
deprecated
added in
v0.8.0
func (srv *Databases) UpsertDocument(DatabaseId string, CollectionId string, DocumentId string, Data interface{}, optionalSetters ...UpsertDocumentOption) (*models.Document, error)
UpsertDocument create or update a Document. Before using this route, you should create a new collection resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection) API or directly from your database console.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.upsertRow` instead.
func (*Databases) UpsertDocuments
deprecated
added in
v0.7.0
func (srv *Databases) UpsertDocuments(DatabaseId string, CollectionId string, Documents []interface{}) (*models.DocumentList, error)
UpsertDocuments create or update Documents. Before using this route, you should create a new collection resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection) API or directly from your database console.
Deprecated: This API has been deprecated since 1.8.0. Please use `TablesDB.upsertRows` instead.
func (*Databases) WithCreateBooleanAttributeArray ¶
func (srv *Databases) WithCreateBooleanAttributeArray(v bool) CreateBooleanAttributeOption
func (*Databases) WithCreateBooleanAttributeDefault ¶
func (srv *Databases) WithCreateBooleanAttributeDefault(v bool) CreateBooleanAttributeOption
func (*Databases) WithCreateCollectionDocumentSecurity ¶
func (srv *Databases) WithCreateCollectionDocumentSecurity(v bool) CreateCollectionOption
func (*Databases) WithCreateCollectionEnabled ¶
func (srv *Databases) WithCreateCollectionEnabled(v bool) CreateCollectionOption
func (*Databases) WithCreateCollectionPermissions ¶
func (srv *Databases) WithCreateCollectionPermissions(v []string) CreateCollectionOption
func (*Databases) WithCreateDatetimeAttributeArray ¶
func (srv *Databases) WithCreateDatetimeAttributeArray(v bool) CreateDatetimeAttributeOption
func (*Databases) WithCreateDatetimeAttributeDefault ¶
func (srv *Databases) WithCreateDatetimeAttributeDefault(v string) CreateDatetimeAttributeOption
func (*Databases) WithCreateDocumentPermissions ¶
func (srv *Databases) WithCreateDocumentPermissions(v []string) CreateDocumentOption
func (*Databases) WithCreateEmailAttributeArray ¶
func (srv *Databases) WithCreateEmailAttributeArray(v bool) CreateEmailAttributeOption
func (*Databases) WithCreateEmailAttributeDefault ¶
func (srv *Databases) WithCreateEmailAttributeDefault(v string) CreateEmailAttributeOption
func (*Databases) WithCreateEnabled ¶
func (srv *Databases) WithCreateEnabled(v bool) CreateOption
func (*Databases) WithCreateEnumAttributeArray ¶
func (srv *Databases) WithCreateEnumAttributeArray(v bool) CreateEnumAttributeOption
func (*Databases) WithCreateEnumAttributeDefault ¶
func (srv *Databases) WithCreateEnumAttributeDefault(v string) CreateEnumAttributeOption
func (*Databases) WithCreateFloatAttributeArray ¶
func (srv *Databases) WithCreateFloatAttributeArray(v bool) CreateFloatAttributeOption
func (*Databases) WithCreateFloatAttributeDefault ¶
func (srv *Databases) WithCreateFloatAttributeDefault(v float64) CreateFloatAttributeOption
func (*Databases) WithCreateFloatAttributeMax ¶
func (srv *Databases) WithCreateFloatAttributeMax(v float64) CreateFloatAttributeOption
func (*Databases) WithCreateFloatAttributeMin ¶
func (srv *Databases) WithCreateFloatAttributeMin(v float64) CreateFloatAttributeOption
func (*Databases) WithCreateIndexLengths ¶ added in v0.7.0
func (srv *Databases) WithCreateIndexLengths(v []int) CreateIndexOption
func (*Databases) WithCreateIndexOrders ¶
func (srv *Databases) WithCreateIndexOrders(v []string) CreateIndexOption
func (*Databases) WithCreateIntegerAttributeArray ¶
func (srv *Databases) WithCreateIntegerAttributeArray(v bool) CreateIntegerAttributeOption
func (*Databases) WithCreateIntegerAttributeDefault ¶
func (srv *Databases) WithCreateIntegerAttributeDefault(v int) CreateIntegerAttributeOption
func (*Databases) WithCreateIntegerAttributeMax ¶
func (srv *Databases) WithCreateIntegerAttributeMax(v int) CreateIntegerAttributeOption
func (*Databases) WithCreateIntegerAttributeMin ¶
func (srv *Databases) WithCreateIntegerAttributeMin(v int) CreateIntegerAttributeOption
func (*Databases) WithCreateIpAttributeArray ¶
func (srv *Databases) WithCreateIpAttributeArray(v bool) CreateIpAttributeOption
func (*Databases) WithCreateIpAttributeDefault ¶
func (srv *Databases) WithCreateIpAttributeDefault(v string) CreateIpAttributeOption
func (*Databases) WithCreateLineAttributeDefault ¶ added in v0.11.0
func (srv *Databases) WithCreateLineAttributeDefault(v []interface{}) CreateLineAttributeOption
func (*Databases) WithCreatePointAttributeDefault ¶ added in v0.11.0
func (srv *Databases) WithCreatePointAttributeDefault(v []interface{}) CreatePointAttributeOption
func (*Databases) WithCreatePolygonAttributeDefault ¶ added in v0.11.0
func (srv *Databases) WithCreatePolygonAttributeDefault(v []interface{}) CreatePolygonAttributeOption
func (*Databases) WithCreateRelationshipAttributeKey ¶
func (srv *Databases) WithCreateRelationshipAttributeKey(v string) CreateRelationshipAttributeOption
func (*Databases) WithCreateRelationshipAttributeOnDelete ¶
func (srv *Databases) WithCreateRelationshipAttributeOnDelete(v string) CreateRelationshipAttributeOption
func (*Databases) WithCreateRelationshipAttributeTwoWay ¶
func (srv *Databases) WithCreateRelationshipAttributeTwoWay(v bool) CreateRelationshipAttributeOption
func (*Databases) WithCreateRelationshipAttributeTwoWayKey ¶
func (srv *Databases) WithCreateRelationshipAttributeTwoWayKey(v string) CreateRelationshipAttributeOption
func (*Databases) WithCreateStringAttributeArray ¶
func (srv *Databases) WithCreateStringAttributeArray(v bool) CreateStringAttributeOption
func (*Databases) WithCreateStringAttributeDefault ¶
func (srv *Databases) WithCreateStringAttributeDefault(v string) CreateStringAttributeOption
func (*Databases) WithCreateStringAttributeEncrypt ¶
func (srv *Databases) WithCreateStringAttributeEncrypt(v bool) CreateStringAttributeOption
func (*Databases) WithCreateUrlAttributeArray ¶
func (srv *Databases) WithCreateUrlAttributeArray(v bool) CreateUrlAttributeOption
func (*Databases) WithCreateUrlAttributeDefault ¶
func (srv *Databases) WithCreateUrlAttributeDefault(v string) CreateUrlAttributeOption
func (*Databases) WithDecrementDocumentAttributeMin ¶ added in v0.8.0
func (srv *Databases) WithDecrementDocumentAttributeMin(v float64) DecrementDocumentAttributeOption
func (*Databases) WithDecrementDocumentAttributeValue ¶ added in v0.8.0
func (srv *Databases) WithDecrementDocumentAttributeValue(v float64) DecrementDocumentAttributeOption
func (*Databases) WithDeleteDocumentsQueries ¶ added in v0.7.0
func (srv *Databases) WithDeleteDocumentsQueries(v []string) DeleteDocumentsOption
func (*Databases) WithGetDocumentQueries ¶
func (srv *Databases) WithGetDocumentQueries(v []string) GetDocumentOption
func (*Databases) WithIncrementDocumentAttributeMax ¶ added in v0.8.0
func (srv *Databases) WithIncrementDocumentAttributeMax(v float64) IncrementDocumentAttributeOption
func (*Databases) WithIncrementDocumentAttributeValue ¶ added in v0.8.0
func (srv *Databases) WithIncrementDocumentAttributeValue(v float64) IncrementDocumentAttributeOption
func (*Databases) WithListAttributesQueries ¶
func (srv *Databases) WithListAttributesQueries(v []string) ListAttributesOption
func (*Databases) WithListCollectionsQueries ¶
func (srv *Databases) WithListCollectionsQueries(v []string) ListCollectionsOption
func (*Databases) WithListCollectionsSearch ¶
func (srv *Databases) WithListCollectionsSearch(v string) ListCollectionsOption
func (*Databases) WithListDocumentsQueries ¶
func (srv *Databases) WithListDocumentsQueries(v []string) ListDocumentsOption
func (*Databases) WithListIndexesQueries ¶
func (srv *Databases) WithListIndexesQueries(v []string) ListIndexesOption
func (*Databases) WithListQueries ¶
func (srv *Databases) WithListQueries(v []string) ListOption
func (*Databases) WithListSearch ¶
func (srv *Databases) WithListSearch(v string) ListOption
func (*Databases) WithUpdateBooleanAttributeNewKey ¶ added in v0.2.0
func (srv *Databases) WithUpdateBooleanAttributeNewKey(v string) UpdateBooleanAttributeOption
func (*Databases) WithUpdateCollectionDocumentSecurity ¶
func (srv *Databases) WithUpdateCollectionDocumentSecurity(v bool) UpdateCollectionOption
func (*Databases) WithUpdateCollectionEnabled ¶
func (srv *Databases) WithUpdateCollectionEnabled(v bool) UpdateCollectionOption
func (*Databases) WithUpdateCollectionPermissions ¶
func (srv *Databases) WithUpdateCollectionPermissions(v []string) UpdateCollectionOption
func (*Databases) WithUpdateDatetimeAttributeNewKey ¶ added in v0.2.0
func (srv *Databases) WithUpdateDatetimeAttributeNewKey(v string) UpdateDatetimeAttributeOption
func (*Databases) WithUpdateDocumentData ¶
func (srv *Databases) WithUpdateDocumentData(v interface{}) UpdateDocumentOption
func (*Databases) WithUpdateDocumentPermissions ¶
func (srv *Databases) WithUpdateDocumentPermissions(v []string) UpdateDocumentOption
func (*Databases) WithUpdateDocumentsData ¶ added in v0.7.0
func (srv *Databases) WithUpdateDocumentsData(v interface{}) UpdateDocumentsOption
func (*Databases) WithUpdateDocumentsQueries ¶ added in v0.7.0
func (srv *Databases) WithUpdateDocumentsQueries(v []string) UpdateDocumentsOption
func (*Databases) WithUpdateEmailAttributeNewKey ¶ added in v0.2.0
func (srv *Databases) WithUpdateEmailAttributeNewKey(v string) UpdateEmailAttributeOption
func (*Databases) WithUpdateEnabled ¶
func (srv *Databases) WithUpdateEnabled(v bool) UpdateOption
func (*Databases) WithUpdateEnumAttributeNewKey ¶ added in v0.2.0
func (srv *Databases) WithUpdateEnumAttributeNewKey(v string) UpdateEnumAttributeOption
func (*Databases) WithUpdateFloatAttributeMax ¶ added in v0.7.0
func (srv *Databases) WithUpdateFloatAttributeMax(v float64) UpdateFloatAttributeOption
func (*Databases) WithUpdateFloatAttributeMin ¶ added in v0.7.0
func (srv *Databases) WithUpdateFloatAttributeMin(v float64) UpdateFloatAttributeOption
func (*Databases) WithUpdateFloatAttributeNewKey ¶ added in v0.2.0
func (srv *Databases) WithUpdateFloatAttributeNewKey(v string) UpdateFloatAttributeOption
func (*Databases) WithUpdateIntegerAttributeMax ¶ added in v0.7.0
func (srv *Databases) WithUpdateIntegerAttributeMax(v int) UpdateIntegerAttributeOption
func (*Databases) WithUpdateIntegerAttributeMin ¶ added in v0.7.0
func (srv *Databases) WithUpdateIntegerAttributeMin(v int) UpdateIntegerAttributeOption
func (*Databases) WithUpdateIntegerAttributeNewKey ¶ added in v0.2.0
func (srv *Databases) WithUpdateIntegerAttributeNewKey(v string) UpdateIntegerAttributeOption
func (*Databases) WithUpdateIpAttributeNewKey ¶ added in v0.2.0
func (srv *Databases) WithUpdateIpAttributeNewKey(v string) UpdateIpAttributeOption
func (*Databases) WithUpdateLineAttributeDefault ¶ added in v0.11.0
func (srv *Databases) WithUpdateLineAttributeDefault(v []interface{}) UpdateLineAttributeOption
func (*Databases) WithUpdateLineAttributeNewKey ¶ added in v0.11.0
func (srv *Databases) WithUpdateLineAttributeNewKey(v string) UpdateLineAttributeOption
func (*Databases) WithUpdatePointAttributeDefault ¶ added in v0.11.0
func (srv *Databases) WithUpdatePointAttributeDefault(v []interface{}) UpdatePointAttributeOption
func (*Databases) WithUpdatePointAttributeNewKey ¶ added in v0.11.0
func (srv *Databases) WithUpdatePointAttributeNewKey(v string) UpdatePointAttributeOption
func (*Databases) WithUpdatePolygonAttributeDefault ¶ added in v0.11.0
func (srv *Databases) WithUpdatePolygonAttributeDefault(v []interface{}) UpdatePolygonAttributeOption
func (*Databases) WithUpdatePolygonAttributeNewKey ¶ added in v0.11.0
func (srv *Databases) WithUpdatePolygonAttributeNewKey(v string) UpdatePolygonAttributeOption
func (*Databases) WithUpdateRelationshipAttributeNewKey ¶ added in v0.2.0
func (srv *Databases) WithUpdateRelationshipAttributeNewKey(v string) UpdateRelationshipAttributeOption
func (*Databases) WithUpdateRelationshipAttributeOnDelete ¶
func (srv *Databases) WithUpdateRelationshipAttributeOnDelete(v string) UpdateRelationshipAttributeOption
func (*Databases) WithUpdateStringAttributeNewKey ¶ added in v0.2.0
func (srv *Databases) WithUpdateStringAttributeNewKey(v string) UpdateStringAttributeOption
func (*Databases) WithUpdateStringAttributeSize ¶ added in v0.2.0
func (srv *Databases) WithUpdateStringAttributeSize(v int) UpdateStringAttributeOption
func (*Databases) WithUpdateUrlAttributeNewKey ¶ added in v0.2.0
func (srv *Databases) WithUpdateUrlAttributeNewKey(v string) UpdateUrlAttributeOption
func (*Databases) WithUpsertDocumentPermissions ¶ added in v0.8.0
func (srv *Databases) WithUpsertDocumentPermissions(v []string) UpsertDocumentOption
type DecrementDocumentAttributeOption ¶ added in v0.8.0
type DecrementDocumentAttributeOption func(*DecrementDocumentAttributeOptions)
type DecrementDocumentAttributeOptions ¶ added in v0.8.0
type DecrementDocumentAttributeOptions struct { Value float64 Min float64 // contains filtered or unexported fields }
func (DecrementDocumentAttributeOptions) New ¶ added in v0.8.0
func (options DecrementDocumentAttributeOptions) New() *DecrementDocumentAttributeOptions
type DeleteDocumentsOption ¶ added in v0.7.0
type DeleteDocumentsOption func(*DeleteDocumentsOptions)
type DeleteDocumentsOptions ¶ added in v0.7.0
type DeleteDocumentsOptions struct { Queries []string // contains filtered or unexported fields }
func (DeleteDocumentsOptions) New ¶ added in v0.7.0
func (options DeleteDocumentsOptions) New() *DeleteDocumentsOptions
type GetDocumentOption ¶
type GetDocumentOption func(*GetDocumentOptions)
type GetDocumentOptions ¶
type GetDocumentOptions struct { Queries []string // contains filtered or unexported fields }
func (GetDocumentOptions) New ¶
func (options GetDocumentOptions) New() *GetDocumentOptions
type IncrementDocumentAttributeOption ¶ added in v0.8.0
type IncrementDocumentAttributeOption func(*IncrementDocumentAttributeOptions)
type IncrementDocumentAttributeOptions ¶ added in v0.8.0
type IncrementDocumentAttributeOptions struct { Value float64 Max float64 // contains filtered or unexported fields }
func (IncrementDocumentAttributeOptions) New ¶ added in v0.8.0
func (options IncrementDocumentAttributeOptions) New() *IncrementDocumentAttributeOptions
type ListAttributesOption ¶
type ListAttributesOption func(*ListAttributesOptions)
type ListAttributesOptions ¶
type ListAttributesOptions struct { Queries []string // contains filtered or unexported fields }
func (ListAttributesOptions) New ¶
func (options ListAttributesOptions) New() *ListAttributesOptions
type ListCollectionsOption ¶
type ListCollectionsOption func(*ListCollectionsOptions)
type ListCollectionsOptions ¶
type ListCollectionsOptions struct { Queries []string Search string // contains filtered or unexported fields }
func (ListCollectionsOptions) New ¶
func (options ListCollectionsOptions) New() *ListCollectionsOptions
type ListDocumentsOption ¶
type ListDocumentsOption func(*ListDocumentsOptions)
type ListDocumentsOptions ¶
type ListDocumentsOptions struct { Queries []string // contains filtered or unexported fields }
func (ListDocumentsOptions) New ¶
func (options ListDocumentsOptions) New() *ListDocumentsOptions
type ListIndexesOption ¶
type ListIndexesOption func(*ListIndexesOptions)
type ListIndexesOptions ¶
type ListIndexesOptions struct { Queries []string // 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 // contains filtered or unexported fields }
func (ListOptions) New ¶
func (options ListOptions) New() *ListOptions
type UpdateBooleanAttributeOption ¶ added in v0.2.0
type UpdateBooleanAttributeOption func(*UpdateBooleanAttributeOptions)
type UpdateBooleanAttributeOptions ¶ added in v0.2.0
type UpdateBooleanAttributeOptions struct { NewKey string // contains filtered or unexported fields }
func (UpdateBooleanAttributeOptions) New ¶ added in v0.2.0
func (options UpdateBooleanAttributeOptions) New() *UpdateBooleanAttributeOptions
type UpdateCollectionOption ¶
type UpdateCollectionOption func(*UpdateCollectionOptions)
type UpdateCollectionOptions ¶
type UpdateCollectionOptions struct { Permissions []string DocumentSecurity bool Enabled bool // contains filtered or unexported fields }
func (UpdateCollectionOptions) New ¶
func (options UpdateCollectionOptions) New() *UpdateCollectionOptions
type UpdateDatetimeAttributeOption ¶ added in v0.2.0
type UpdateDatetimeAttributeOption func(*UpdateDatetimeAttributeOptions)
type UpdateDatetimeAttributeOptions ¶ added in v0.2.0
type UpdateDatetimeAttributeOptions struct { NewKey string // contains filtered or unexported fields }
func (UpdateDatetimeAttributeOptions) New ¶ added in v0.2.0
func (options UpdateDatetimeAttributeOptions) New() *UpdateDatetimeAttributeOptions
type UpdateDocumentOption ¶
type UpdateDocumentOption func(*UpdateDocumentOptions)
type UpdateDocumentOptions ¶
type UpdateDocumentOptions struct { Data interface{} Permissions []string // contains filtered or unexported fields }
func (UpdateDocumentOptions) New ¶
func (options UpdateDocumentOptions) New() *UpdateDocumentOptions
type UpdateDocumentsOption ¶ added in v0.7.0
type UpdateDocumentsOption func(*UpdateDocumentsOptions)
type UpdateDocumentsOptions ¶ added in v0.7.0
type UpdateDocumentsOptions struct { Data interface{} Queries []string // contains filtered or unexported fields }
func (UpdateDocumentsOptions) New ¶ added in v0.7.0
func (options UpdateDocumentsOptions) New() *UpdateDocumentsOptions
type UpdateEmailAttributeOption ¶ added in v0.2.0
type UpdateEmailAttributeOption func(*UpdateEmailAttributeOptions)
type UpdateEmailAttributeOptions ¶ added in v0.2.0
type UpdateEmailAttributeOptions struct { NewKey string // contains filtered or unexported fields }
func (UpdateEmailAttributeOptions) New ¶ added in v0.2.0
func (options UpdateEmailAttributeOptions) New() *UpdateEmailAttributeOptions
type UpdateEnumAttributeOption ¶ added in v0.2.0
type UpdateEnumAttributeOption func(*UpdateEnumAttributeOptions)
type UpdateEnumAttributeOptions ¶ added in v0.2.0
type UpdateEnumAttributeOptions struct { NewKey string // contains filtered or unexported fields }
func (UpdateEnumAttributeOptions) New ¶ added in v0.2.0
func (options UpdateEnumAttributeOptions) New() *UpdateEnumAttributeOptions
type UpdateFloatAttributeOption ¶ added in v0.2.0
type UpdateFloatAttributeOption func(*UpdateFloatAttributeOptions)
type UpdateFloatAttributeOptions ¶ added in v0.2.0
type UpdateFloatAttributeOptions struct { Min float64 Max float64 NewKey string // contains filtered or unexported fields }
func (UpdateFloatAttributeOptions) New ¶ added in v0.2.0
func (options UpdateFloatAttributeOptions) New() *UpdateFloatAttributeOptions
type UpdateIntegerAttributeOption ¶ added in v0.2.0
type UpdateIntegerAttributeOption func(*UpdateIntegerAttributeOptions)
type UpdateIntegerAttributeOptions ¶ added in v0.2.0
type UpdateIntegerAttributeOptions struct { Min int Max int NewKey string // contains filtered or unexported fields }
func (UpdateIntegerAttributeOptions) New ¶ added in v0.2.0
func (options UpdateIntegerAttributeOptions) New() *UpdateIntegerAttributeOptions
type UpdateIpAttributeOption ¶ added in v0.2.0
type UpdateIpAttributeOption func(*UpdateIpAttributeOptions)
type UpdateIpAttributeOptions ¶ added in v0.2.0
type UpdateIpAttributeOptions struct { NewKey string // contains filtered or unexported fields }
func (UpdateIpAttributeOptions) New ¶ added in v0.2.0
func (options UpdateIpAttributeOptions) New() *UpdateIpAttributeOptions
type UpdateLineAttributeOption ¶ added in v0.11.0
type UpdateLineAttributeOption func(*UpdateLineAttributeOptions)
type UpdateLineAttributeOptions ¶ added in v0.11.0
type UpdateLineAttributeOptions struct { Default []interface{} NewKey string // contains filtered or unexported fields }
func (UpdateLineAttributeOptions) New ¶ added in v0.11.0
func (options UpdateLineAttributeOptions) New() *UpdateLineAttributeOptions
type UpdateOption ¶
type UpdateOption func(*UpdateOptions)
type UpdateOptions ¶
type UpdateOptions struct { Enabled bool // contains filtered or unexported fields }
func (UpdateOptions) New ¶
func (options UpdateOptions) New() *UpdateOptions
type UpdatePointAttributeOption ¶ added in v0.11.0
type UpdatePointAttributeOption func(*UpdatePointAttributeOptions)
type UpdatePointAttributeOptions ¶ added in v0.11.0
type UpdatePointAttributeOptions struct { Default []interface{} NewKey string // contains filtered or unexported fields }
func (UpdatePointAttributeOptions) New ¶ added in v0.11.0
func (options UpdatePointAttributeOptions) New() *UpdatePointAttributeOptions
type UpdatePolygonAttributeOption ¶ added in v0.11.0
type UpdatePolygonAttributeOption func(*UpdatePolygonAttributeOptions)
type UpdatePolygonAttributeOptions ¶ added in v0.11.0
type UpdatePolygonAttributeOptions struct { Default []interface{} NewKey string // contains filtered or unexported fields }
func (UpdatePolygonAttributeOptions) New ¶ added in v0.11.0
func (options UpdatePolygonAttributeOptions) New() *UpdatePolygonAttributeOptions
type UpdateRelationshipAttributeOption ¶
type UpdateRelationshipAttributeOption func(*UpdateRelationshipAttributeOptions)
type UpdateRelationshipAttributeOptions ¶
type UpdateRelationshipAttributeOptions struct { OnDelete string NewKey string // contains filtered or unexported fields }
func (UpdateRelationshipAttributeOptions) New ¶
func (options UpdateRelationshipAttributeOptions) New() *UpdateRelationshipAttributeOptions
type UpdateStringAttributeOption ¶ added in v0.2.0
type UpdateStringAttributeOption func(*UpdateStringAttributeOptions)
type UpdateStringAttributeOptions ¶ added in v0.2.0
type UpdateStringAttributeOptions struct { Size int NewKey string // contains filtered or unexported fields }
func (UpdateStringAttributeOptions) New ¶ added in v0.2.0
func (options UpdateStringAttributeOptions) New() *UpdateStringAttributeOptions
type UpdateUrlAttributeOption ¶ added in v0.2.0
type UpdateUrlAttributeOption func(*UpdateUrlAttributeOptions)
type UpdateUrlAttributeOptions ¶ added in v0.2.0
type UpdateUrlAttributeOptions struct { NewKey string // contains filtered or unexported fields }
func (UpdateUrlAttributeOptions) New ¶ added in v0.2.0
func (options UpdateUrlAttributeOptions) New() *UpdateUrlAttributeOptions
type UpsertDocumentOption ¶ added in v0.8.0
type UpsertDocumentOption func(*UpsertDocumentOptions)
type UpsertDocumentOptions ¶ added in v0.8.0
type UpsertDocumentOptions struct { Permissions []string // contains filtered or unexported fields }
func (UpsertDocumentOptions) New ¶ added in v0.8.0
func (options UpsertDocumentOptions) New() *UpsertDocumentOptions