W3cubDocs

/Haxe PHP

PDOClass

package php.db

import php.db.PDO

Available on php

Methods

beginTransaction ():Bool

commit ():Bool

errorCode ():Dynamic

errorInfo ():NativeArray

exec (statement:String):Int

getAttribute (attribute:Int):Dynamic

getAvailableDrivers ():NativeArray

lastInsertId (?name:String):String

prepare (statement:String, driver_options:NativeArray):PDOStatement

query (statement:String, mode:Int):PDOStatement

quote (String:String, parameter_type:Int = 2):String

rollBack ():Bool

setAttribute (attribute:Int, value:Dynamic):Bool

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