Manager
You are viewing an old version of this entry, click here to see latest version.
class neko.db.Manager<T>Available in nekoSPOD Manager : the persistent object database manager. See the tutorial on Haxe website to learn how to use SPOD.
function new( classval : Class<Object> ) : Void
function all( ?lock : Bool ) : List<T>
function count( ?x : {} ) : IntThe number of rows for this table
function dbClass() : Class<Dynamic>
function delete( x : {} ) : Void
function get( id : Int, ?lock : Bool ) : TRetrieve a SPOD Object based on a single integer identifier
function getWithKeys( keys : {}, ?lock : Bool ) : TRetrieve a SPOD Object based on its multiple keys
function object( sql : String, lock : Bool ) : T
function objects( sql : String, lock : Bool ) : List<T>
function quote( s : String ) : String
function result( sql : String ) : Dynamic
function results<T>( sql : String ) : List<T>
function search( x : {}, ?lock : Bool ) : List<T>Return a list of SPOD Objects matching the search patterns
function setLockMode( exclusive : Bool, readShared : Bool ) : Void
static var cnx(default,setConnection) : Connection
static function cleanup() : Void
static function initialize() : Void
version #7120, modified 2009-10-23 11:00:51 by vhesselbom
0 comment