Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::sql Namespace

SQL access library. This provides a simple access to ODBC connections, and to sqlite. If no database is specified, there is an internal database that can be used. These methods on the PODBC connection are NOT thread safe. Multiple threads shall never use the same PODBC; they can use seperate PODBC connections. Under linux this links to unixODBC. 

 

DoSQLCommandf 

DoSQLRecordQueryf 

GetSQLRecord 

 

ConnectToDatabase 

DoSQLCommandf 

DoSQLRecordQueryf 

FetchSQLRecord 

 

There is a configuration file for the default SQL connection, this is kept in a file 'sql.config' which is processed with ProcessConfigurationFile(); If this file does not exist, it will be automatically created with default values. 

 

(Need to describe this sql.config file)

Name 
Description 
Contains methods for saving and recovering options from a database. If enabled, will use a local option.db sqlite database. Use EditOptions application to modify options. Can use any database connection, but sql.config file will specify 'option.db' to start. 
Name 
Description 
The following table lists classes in this documentation. 
The following table lists structs, records, enums in this documentation. 
The following table lists types in this documentation. 
The following table lists macros in this documentation. 
 
Name 
Description 
 
Describes a key column of a table.  
Name 
Description 
This is macro sack::sql::CheckODBCTable. 
 
 
 
 
 
 
 
 
 
 
 
 
recently added {} container braces for structure element 
 
 
This is macro sack::sql::GetNameIndex. 
This is macro sack::sql::GetNameIndexEx. 
 
This is macro sack::sql::IsSQLOpen. 
maximum columns that can be specified for a multicolumn index in required_key_def
a field definition can be a rename, and contain prior names, so that the rename can be tracked and migrated appropraitely. Unfortuntaly this sort of operation only affects this code, and not all auxiliary code. 
This is macro sack::sql::OpenSQLConnect. 
This is macro sack::sql::PopODBC. 
This is macro sack::sql::PopODBCEx. 
 
 
 
 
 
 
 
This is macro PSSQL_PROC. 
 
 
 
 
 
sets the count and the array of a statically declared required_table_tag
 
Name 
Description 
 
CreateTable Options (CTO_) 
 
 
 
 
 
some internal stub-proxy linkage for generating remote responders..
This was work in progress for providing a msgsvr service to SQL. One of the implementations of this library was across a windows message queue using ATOM types to transport results and commands. Was going to implement this on the abstract msgqueue interface. 
 
 
 
 
 
some internal stub-proxy linkage for generating remote responders..
This was work in progress for providing a msgsvr service to SQL. One of the implementations of this library was across a windows message queue using ATOM types to transport results and commands. Was going to implement this on the abstract msgqueue interface. 
 
some internal stub-proxy linkage for generating remote responders..
This was work in progress for providing a msgsvr service to SQL. One of the implementations of this library was across a windows message queue using ATOM types to transport results and commands. Was going to implement this on the abstract msgqueue interface. 
Name 
Description 
Describes a key column of a table.  
Function signature for the callback when the SQL layer can log a status about a database connection (connection, disconnected, failed...) See SQLSetFeedbackHandler. 
ODBC 
This is the connection object that provides interface to the database. Can be NULL to specify the default connection interface. See namespace sql.

An ODBC connection handles commands as a stack. Each command is done as a temporary entry on the stack. A query is done as an entry on the stack, but the entry remains on the stack until the final result is retrieved or an early PopODBC is called.

The structure of this is such that if a command is slow to a database, it would be possible to stack commands that are temporary and pending until... more 
Describes a key column of a table.  
 
function call signature for callback method passed to RegisterResponceHandler. 
 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!