Updated: 2022/Sep/29

Please read Privacy Policy. It's for your privacy.


SQLITE3SESSION_TABLE_FILTER(3)                        Library Functions Manual

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 11035.

     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 */
     );

NetBSD 10.99                    August 24, 2023                   NetBSD 10.99