Small. Fast. Reliable.
Choose any three.

SQLite C Interface

Dynamic String Object

typedef struct sqlite3_str sqlite3_str;

An instance of the sqlite3_str object contains a dynamically-sized string under construction.

The lifecycle of an sqlite3_str object is as follows:

  1. The sqlite3_str object is created using sqlite3_str_new().
  2. Text is appended to the sqlite3_str object using various methods, such as sqlite3_str_appendf().
  3. The sqlite3_str object is destroyed and the string it created is returned using the sqlite3_str_finish() interface.

Constructor: sqlite3_str_new()

Destructor: sqlite3_str_finish()

See also lists of Objects, Constants, and Functions.