Module: SQLite3

Defined in:
lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/helper.rb,
lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/helper.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/test_backup.rb,
lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/value.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/test_sqlite3.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_backup.rb,
lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/errors.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/test_database.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/test_encoding.rb,
lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/value.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_sqlite3.rb,
lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/pragmas.rb,
lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/version.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/test_collation.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/test_statement.rb,
lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/errors.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_database.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_encoding.rb,
lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/database.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/test_deprecated.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/test_result_set.rb,
lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/pragmas.rb,
lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/version.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_collation.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_statement.rb,
lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/constants.rb,
lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/resultset.rb,
lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/statement.rb,
lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/database.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_deprecated.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_result_set.rb,
lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/translator.rb,
lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/constants.rb,
lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/resultset.rb,
lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/statement.rb,
lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/translator.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/test_database_flags.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_database_flags.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/test_database_readonly.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/test_statement_execute.rb,
lib/sqlite3-1.5.3-arm64-darwin/test/test_database_readwrite.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_database_readonly.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_statement_execute.rb,
lib/sqlite3-1.5.3-x86_64-darwin/test/test_database_readwrite.rb

Defined Under Namespace

Modules: Constants, Pragmas, VersionProxy Classes: AbortException, AuthorizationException, BusyException, CantOpenException, ConstraintException, CorruptException, Database, EmptyException, Exception, FormatException, FullException, IOException, InternalException, InterruptException, LockedException, MemoryException, MismatchException, MisuseException, NotADatabaseException, NotFoundException, PermissionException, ProtocolException, RangeException, ReadOnlyException, ResultSet, SQLException, SchemaChangedException, Statement, TestBackup, TestCase, TestCollation, TestDatabase, TestDatabaseFlags, TestDatabaseReadonly, TestDatabaseReadwrite, TestDeprecated, TestEncoding, TestResultSet, TestSQLite3, TestStatement, TestStatementExecute, TooBigException, Translator, UnsupportedException, Value

Constant Summary collapse

VERSION =
"1.5.3"

Class Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object



16
17
18
19
20
21
22
# File 'lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/version.rb', line 16

def self.const_missing(name)
  return super unless name == :Version
  warn(<<-eowarn) if $VERBOSE
#{caller[0]}: SQLite::Version will be removed in sqlite3-ruby version 2.0.0
  eowarn
  VersionProxy
end

.threadsafe?Boolean

Was sqlite3 compiled with thread safety on?

Returns:

  • (Boolean)


14
# File 'lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3.rb', line 14

def self.threadsafe?; threadsafe > 0; end