db.Manager

Manager<T>

package sys-db

Available on cpp, hl, java, lua, macro, neko, php, python

Record Manager : the persistent object database manager. See the tutorial on Haxe website to learn how to use Record.

Constructor

new (classval:Class<T>)

Methods

all (?lock:Bool):List<T>

count (cond:Dynamic):Int

Available on cpp, hl, java, lua, neko, php, python

count (cond:Dynamic):Dynamic

Available on macro

dbClass ():Class<Dynamic>

dbInfos ():RecordInfos

delete (cond:Dynamic, ?options:Dynamic):Void

Available on cpp, hl, java, lua, neko, php, python

delete (cond:Dynamic, ?options:Dynamic):Dynamic

Available on macro

dynamicSearch (x:{}, ?lock:Bool):List<T>

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.

get (id:Dynamic, ?lock:Bool):T

Available on cpp, hl, java, lua, neko, php, python

get (id:Dynamic, ?lock:Bool):Dynamic

Available on macro

Available on cpp, hl, java, lua, neko, php, python

Available on macro

select (cond:Dynamic, ?options:Dynamic, ?lock:Bool):T

Available on cpp, hl, java, lua, neko, php, python

select (cond:Dynamic, ?options:Dynamic, ?lock:Bool):Dynamic

Available on macro

unsafeCount (sql:String):Int

unsafeDelete (sql:String):Void

unsafeGet (id:Dynamic, ?lock:Bool):T

unsafeGetId (o:T ):Dynamic

unsafeGetWithKeys (keys:{}, ?lock:Bool):T

unsafeObject (sql:String, lock:Bool):T

unsafeObjects (sql:String, lock:Bool):List<T>

Static variables

static cnx:Connection

static lockMode:String

Static methods

static cleanup ():Void

static initialize ():Void

static nullCompare (a:String, b:String, eq:Bool):String

static quoteAny (v:Dynamic):String

static quoteList (v:String, it:Iterable<Dynamic>):String

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/sys/db/Manager.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部