Sha256: 44f3fbac579c005fdb7b5075ba9ca4c7e27c8711b4335c12edf810de6dd4e3b3

Contents?: true

Size: 1.73 KB

Versions: 259

Compression:

Stored size: 1.73 KB

Contents

module SQLite3 ; module Constants

  module TextRep
    UTF8    = 1
    UTF16LE = 2
    UTF16BE = 3
    UTF16   = 4
    ANY     = 5
    DETERMINISTIC = 0x800
  end

  module ColumnType
    INTEGER = 1
    FLOAT   = 2
    TEXT    = 3
    BLOB    = 4
    NULL    = 5
  end

  module ErrorCode
    OK         =  0   # Successful result
    ERROR      =  1   # SQL error or missing database
    INTERNAL   =  2   # An internal logic error in SQLite
    PERM       =  3   # Access permission denied
    ABORT      =  4   # Callback routine requested an abort
    BUSY       =  5   # The database file is locked
    LOCKED     =  6   # A table in the database is locked
    NOMEM      =  7   # A malloc() failed
    READONLY   =  8   # Attempt to write a readonly database
    INTERRUPT  =  9   # Operation terminated by sqlite_interrupt()
    IOERR      = 10   # Some kind of disk I/O error occurred
    CORRUPT    = 11   # The database disk image is malformed
    NOTFOUND   = 12   # (Internal Only) Table or record not found
    FULL       = 13   # Insertion failed because database is full
    CANTOPEN   = 14   # Unable to open the database file
    PROTOCOL   = 15   # Database lock protocol error
    EMPTY      = 16   # (Internal Only) Database table is empty
    SCHEMA     = 17   # The database schema changed
    TOOBIG     = 18   # Too much data for one row of a table
    CONSTRAINT = 19   # Abort due to constraint violation
    MISMATCH   = 20   # Data type mismatch
    MISUSE     = 21   # Library used incorrectly
    NOLFS      = 22   # Uses OS features not supported on host
    AUTH       = 23   # Authorization denied

    ROW        = 100  # sqlite_step() has another row ready
    DONE       = 101  # sqlite_step() has finished executing
  end

end ; end

Version data entries

259 entries across 240 versions & 4 rubygems

Version Path
sqlite3-1.7.1-x86_64-linux lib/sqlite3/constants.rb
sqlite3-1.7.1-x86_64-darwin lib/sqlite3/constants.rb
sqlite3-1.7.1-x86-linux lib/sqlite3/constants.rb
sqlite3-1.7.1-x64-mingw32 lib/sqlite3/constants.rb
sqlite3-1.7.1-x64-mingw-ucrt lib/sqlite3/constants.rb
sqlite3-1.7.1-arm64-darwin lib/sqlite3/constants.rb
sqlite3-1.7.1-arm-linux lib/sqlite3/constants.rb
sqlite3-1.7.1-aarch64-linux lib/sqlite3/constants.rb
sqlite3-1.7.0 lib/sqlite3/constants.rb
sqlite3-1.7.0-x86_64-linux lib/sqlite3/constants.rb
sqlite3-1.7.0-x86_64-darwin lib/sqlite3/constants.rb
sqlite3-1.7.0-x86-linux lib/sqlite3/constants.rb
sqlite3-1.7.0-x64-mingw32 lib/sqlite3/constants.rb
sqlite3-1.7.0-x64-mingw-ucrt lib/sqlite3/constants.rb
sqlite3-1.7.0-arm64-darwin lib/sqlite3/constants.rb
sqlite3-1.7.0-arm-linux lib/sqlite3/constants.rb
sqlite3-1.7.0-aarch64-linux lib/sqlite3/constants.rb
sqlite3-1.6.9 lib/sqlite3/constants.rb
sqlite3-1.6.9-x86_64-linux lib/sqlite3/constants.rb
sqlite3-1.6.9-x86_64-darwin lib/sqlite3/constants.rb