ORDAGovernor Protocol Reference
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
-
– createStatement:
Creates a (prepared) statement
required method
Database Tables
-
– createTable:
Creates a ‘table’
required method
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
[NSString stringWithFormat:]
Declared In
ORDAGovernor.h