Conforms to ORDAResult
Declared in ORDAGovernor.h

Overview

The ORDAGovernor protocol is the primary point of interaction with or gateway to the API. It governs or manages a ‘connection’ to a relational database (RDBMSes like SQLite have open files rather than open sockets/connections). A ‘connection’ to a database is opened upon initialization and closed upon deallocation.

Tasks

SQL Statements

Database Tables

Instance Methods

createStatement:

Creates a (prepared) statement

- (id<ORDAStatement>)createStatement:(NSString *)format, ...

Parameters

format

the format string

...

the format string arguments

Return Value

the statement

Discussion

This returns a statement prepared with the specified format string.

See Also

Declared In

ORDAGovernor.h

createTable:

Creates a ‘table’

- (id<ORDATable>)createTable:(NSString *)tableName

Parameters

tableName

the name of the database table

Return Value

the ‘table’

Discussion

This creates and returns a ‘table’ object associated with the specified database table.

See Also

Declared In

ORDAGovernor.h