Retrieves a list of all data collections associated with the site or project.
By default, the list is ordered by ID in ascending order.
function listDataCollections(
options: ListDataCollectionsOptions,
): Promise<ListDataCollectionsResponse>;
Options for retrieving a list of data collections.
import { collections } from "@wix/data";
async function listDataCollections(options) {
const response = await collections.listDataCollections(options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.