A bool class that also understands some special string keywords
Understands: yes/no, true/false, on/off, 1/0, case ignored.
This class contains 4 members.
This represents a SQLObject class that is bound to a specific connection (instances have a connection instance variable, but classes are global, so this is binds the connection variable lazily when a class method is accessed)
This class contains 5 members.
Subclass must define a makeConnection() method, which returns a newly-created connection object.
queryInsertID must also be defined.
This class contains 35 members.
This object serves as a hub for connections, so that you can pass in a ConnectionHub to a SQLObject subclass as though it was a connection, but actually bind a real database connection later. You can also bind connections on a per-thread basis.
You must hang onto the original ConnectionHub instance, as you cannot retrieve it again from the class or instance.
To use the hub, do something like:
hub = ConnectionHub() class MyClass(SQLObject): _connection = hub hub.threadConnection = connectionFromURI('...')
This class contains 9 members.
See the source for more information.