SQLITE_CARRAY_INT32(3) Library Functions Manual SQLITE_CARRAY_INT32(3)

SQLITE_CARRAY_INT32, SQLITE_CARRAY_INT64, SQLITE_CARRAY_DOUBLE, SQLITE_CARRAY_TEXT, SQLITE_CARRAY_BLOB — datatypes for the CARRAY table-valued function

#include <sqlite3.h>

#define SQLITE_CARRAY_INT32
#define SQLITE_CARRAY_INT64
#define SQLITE_CARRAY_DOUBLE
#define SQLITE_CARRAY_TEXT
#define SQLITE_CARRAY_BLOB

The fifth argument to the () interface musts be one of the following constants, to specify the datatype of the array that is being bound into the carray table-valued function.

These declarations were extracted from the interface documentation at line 11323.

#define SQLITE_CARRAY_INT32     0    /* Data is 32-bit signed integers */
#define SQLITE_CARRAY_INT64     1    /* Data is 64-bit signed integers */
#define SQLITE_CARRAY_DOUBLE    2    /* Data is doubles */
#define SQLITE_CARRAY_TEXT      3    /* Data is char* */
#define SQLITE_CARRAY_BLOB      4    /* Data is struct iovec */

sqlite3_carray_bind_v2(3)

April 29, 2026 NetBSD 11.99