config

Sets a configuration option. Use before initialization, e.g. before the first call to initialize and before execution of the first statement.

void
config
(
Args...
)
(
int code
,
Args args
)

Examples

config(SQLITE_CONFIG_MULTITHREAD);

// Setup a logger callback function
config(SQLITE_CONFIG_LOG,
	function(void* p, int code, const(char*) msg)
	{
		import std.stdio;
		writefln("%05d | %s", code, msg.to!string);
	},
	null);
initialize();

See Also

Meta