haXe API Documentation
Back |
Indexclass sys.db.Manager<T>
Available in neko, php, cpp
SPOD Manager : the persistent object database manager. See the tutorial on
haXe website to learn how to use SPOD.
- function new(classval : Class<T>) : Void
- function all(?lock : Bool) : List<T>
- function dbClass() : Class<Dynamic>
- function dbInfos() : SpodInfos
- function dynamicSearch(x : { }, ?lock : Bool) : List<T>
- function forceUpdate(o : T, field : String) : Void
-
Remove the cached value for the given Object field : this will ensure
that the value is updated when calling .update(). This is necessary if
you are modifying binary data in-place since the cache will be modified
as well.
- function unsafeCount(sql : String) : Int
- function unsafeDelete(sql : String) : Void
- function unsafeGet(id : Dynamic, ?lock : Bool) : T
- function unsafeGetId(o : T) : Dynamic
- function unsafeGetWithKeys(keys : { }, ?lock : Bool) : T
- function unsafeObject(sql : String, lock : Bool) : T
- function unsafeObjects(sql : String, lock : Bool) : List<T>
- static var cnx(default,setConnection) : Connection
- static var lockMode : String
- static function cleanup() : Void
- static function initialize() : Void
- static function quoteAny(v : Dynamic) : String
- static function quoteList(v : String, it : Iterable<Dynamic>) : String
Back |
Index