sqlite3_serialize ( db zSchema piSize mFlags -- uchar* )


Vocabulary
db.sqlite.ffi

Inputs
dba database connection
zSchemaa schema name or f
piSizea pointer receiving the byte length
mFlagsserialization flags


Outputs
uchar*a binary buffer pointer, or f


Word description
Returns length-delimited database bytes. With ordinary flags the caller owns the result and must call sqlite3_free. SQLITE_SERIALIZE_NOCOPY instead requests a borrowed buffer. Never decode the database buffer as a C string.

Definition


LIBRARY: sqlite FUNCTION: uchar* sqlite3_serialize
( sqlite3* db, c-string zSchema, sqlite3_int64* piSize, uint
mFlags )