SQLITE3SESSION_TABLE_FILTER(3)

NAME
sqlite3session_table_filter - set a table filter on a session object

SYNOPSIS
#include <sqlite3.h>
void
sqlite3session_table_filter(sqlite3_session *pSession, int(*xFilter)( void *pCtx,const char *zTab), void *pCtx);

DESCRIPTION
The second argument (xFilter) is the "filter callback". For changes to rows in tables that are not attached to the Session object, the filter is called to determine whether changes to the table's rows should be tracked or not. If xFilter returns 0, changes are not tracked. Note that once a table is attached, xFilter will not be called again.

IMPLEMENTATION NOTES
These declarations were extracted from the interface documentation at line 11441.

    SQLITE_API void sqlite3session_table_filter(
      sqlite3_session *pSession,      /* Session object */
      int(*xFilter)(
        void *pCtx,                   /* Copy of third arg to _filter_table() */
        const char *zTab              /* Table name */
      ),
      void *pCtx                      /* First argument passed to xFilter */
    );