wix-data
The wix-data module contains functionality for working with data in collections. Learn more.
Additional information about this section
Perform actions on an object
- aggregate( )
Creates an aggregation.
- bulkInsert( )
Adds a number of items to a collection.
- bulkRemove( )
Removes a number of items from a collection.
- bulkSave( )
Inserts or updates a number of items in a collection.
- bulkUpdate( )
Updates a number of items in a collection.
- filter( )
Creates a filter to be used with datasets and aggregations.
- get( )
Retrieves an item from a collection.
- insert( )
Adds an item to a collection.
- insertReference( )
Inserts a reference in the specified property.
- isReferenced( )
Checks if a reference to the referenced item exists in the specified property of the referring item.
- query( )
Creates a query for retrieving items from a database collection.
- queryReferenced( )
Gets the full items referenced in the specified property.
- remove( )
Removes an item from a collection.
- removeReference( )
Removes a reference from the specified property.
- replaceReferences( )
Replaces current references with references in the specified property.
- save( )
Inserts or updates an item in a collection.
- sort( )
Creates a sort to be used with the dataset setSort() function.
- truncate( )
Removes all items from a collection.
- update( )
Updates an item in a collection.
- Hooks
Hooks that can be added to wix-data operations.
- WixDataAggregate
Provides functionality for performing aggregations on collection data.
- WixDataAggregateResult
The results of an aggregation, containing the aggregated values.
- WixDataFilter
Provides functionality for refining a filter.
- WixDataQuery
Contains functionality for refining a data query.
- WixDataQueryReferencedResult
The results of a data reference query, containing the retrieved items.
- WixDataQueryResult
The results of a data query, containing the retrieved items.
- WixDataSort
Provides functionality for sorting a query.
Related Content