module SQLite3
SQLite3
is a wrapper around the popular database sqlite.
For an example of usage, see SQLite3::Database
.
Constants
- SQLITE_VERSION
- SQLITE_VERSION_NUMBER
Public Class Methods
libversion()
click to toggle source
static VALUE libversion(VALUE UNUSED(klass)) { return INT2NUM(sqlite3_libversion_number()); }
sqlcipher?()
click to toggle source
static VALUE using_sqlcipher(VALUE UNUSED(klass)) { #ifdef USING_SQLCIPHER return Qtrue; #else return Qfalse; #endif }
threadsafe()
click to toggle source
Returns the compile time setting of the SQLITE_THREADSAFE flag. See: www.sqlite.org/c3ref/threadsafe.html
static VALUE threadsafe_p(VALUE UNUSED(klass)) { return INT2NUM(sqlite3_threadsafe()); }