Setup

Important

Starting from version 1.0.185, the data items API was significantly revised to closely match the functionality and syntax of the Velo wix-data API. If you are using an earlier version of this API, updating to the new version requires significant changes to your code.

For previous versions, refer to the documentation for the deprecated API.

To use the Items API, install the @wix/data package using npm or Yarn:

Copy

or

Copy

Then import { items } from @wix/data:

Copy
Did this help?