Qore Sqlite3SqlUtil Module Reference  1.0
Sqlite3SqlUtil::Sqlite3Database Class Reference

provides the Sqlite3-specific implementation of the AbstractDatabase interface More...

Inherits SqlUtil::AbstractDatabase.

Public Member Methods

int getMaximumPrecision ()
 Returns the maximum precision for numeric or decimal columns. More...
 
bool requiresScale ()
 Returns True if the driver requires a scale to support decimal values in numeric or decimal columns. More...
 

Public Attributes

const Sqlite3ReservedWords = ...
 hash of reserved words
 

Private Member Methods

 computeStatisticsImpl (*hash< auto > options)
 compute statistics implementation. See SqlUtil::AbstractDatabase::computeStatistics()
 
softint getCurrentSequenceValueImpl (string name)
 returns the last value issued for the given sequence in the current session
 
softint getNextSequenceValueImpl (string name)
 returns the next value in the given sequence
 
int getPhysicalSizeImpl ()
 SqlUtil::AbstractDatabase.getPhysicalSize()
 
list< stringlistFunctionsImpl ()
 returns a list of string function names in the database More...
 
list< stringlistProceduresImpl ()
 returns a list of string procedure names in the database More...
 
list< stringlistTablesImpl ()
 returns a list of string table names in the database
 
bool rebuildIndexImpl (string name, *hash< auto > options)
 rebuild index implementation. See SqlUtil::AbstractDatabase::rebuildIndex()
 
 reclaimSpaceImpl (*hash< auto > options)
 reclaim space implementation. See SqlUtil::AbstractDatabase::reclaimSpace()
 
bool supportsPackagesImpl ()
 returns True if the database supports packages
 
bool supportsSequencesImpl ()
 returns True since we have a workaround implementation for sequences in Sqlite3
 
bool supportsTypesImpl ()
 returns True if the database supports named types
 

Detailed Description

provides the Sqlite3-specific implementation of the AbstractDatabase interface

Member Function Documentation

◆ getMaximumPrecision()

int Sqlite3SqlUtil::Sqlite3Database::getMaximumPrecision ( )

Returns the maximum precision for numeric or decimal columns.

Returns
-1 means, no maximum
Since
Sqlite3SqlUtil 1.4.3

◆ listFunctionsImpl()

list<string> Sqlite3SqlUtil::Sqlite3Database::listFunctionsImpl ( )
private

returns a list of string function names in the database

The function names will include arguments in parentheses after the names

Returns
a list of string function names in the database

◆ listProceduresImpl()

list<string> Sqlite3SqlUtil::Sqlite3Database::listProceduresImpl ( )
private

returns a list of string procedure names in the database

The procedure names will include arguments in parentheses after the names

Returns
a list of string procedure names in the database

◆ requiresScale()

bool Sqlite3SqlUtil::Sqlite3Database::requiresScale ( )

Returns True if the driver requires a scale to support decimal values in numeric or decimal columns.

Returns
True if the driver requires a scale to support decimal values in numeric or decimal columns
Since
Sqlite3SqlUtil 1.4.3