Search.../

Hooks

Hooks that can be added to wix-data operations. Learn more.

Guides

Additional information about this section

Functions

Perform actions on an object

  • afterCount( )

    A hook that is triggered after a count() operation.

  • afterGet( )

    A hook that is triggered after a get() operation.

  • afterInsert( )

    A hook that is triggered after an insert() operation.

  • afterQuery( )

    A hook that is triggered after a find operation, for each of the items in the query results.

  • afterRemove( )

    A hook that is triggered after a remove() operation.

  • afterUpdate( )

    A hook that is triggered after an update() operation.

  • beforeCount( )

    A hook that is triggered before a count() operation.

  • beforeGet( )

    A hook that is triggered before a get() operation.

  • beforeInsert( )

    A hook that is triggered before an insert() operation.

  • beforeQuery( )

    A hook that is triggered before a find() operation.

  • beforeRemove( )

    A hook that is called before a remove() operation.

  • beforeUpdate( )

    A hook that is triggered before an update() operation.

  • onFailure( )

    A hook that is triggered on any error or rejected Promise from any of the wix-data operations.