PDO

package php.db

Available on php

Static variables

staticfinalread onlyATTR_AUTOCOMMIT:Int

staticfinalread onlyATTR_CASE:Int

staticfinalread onlyATTR_CLIENT_VERSION:Int

staticfinalread onlyATTR_CONNECTION_STATUS:Int

staticfinalread onlyATTR_CURSOR:Int

staticfinalread onlyATTR_CURSOR_NAME:Int

staticfinalread onlyATTR_DRIVER_NAME:String

staticfinalread onlyATTR_EMULATE_PREPARES:Int

staticfinalread onlyATTR_ERRMODE:Int

staticfinalread onlyATTR_FETCH_TABLE_NAMES:Int

staticfinalread onlyATTR_ORACLE_NULLS:Int

staticfinalread onlyATTR_PERSISTENT:Int

staticfinalread onlyATTR_PREFETCH:Int

staticfinalread onlyATTR_SERVER_INFO:Int

staticfinalread onlyATTR_SERVER_VERSION:Int

staticfinalread onlyATTR_STATEMENT_CLASS:Int

staticfinalread onlyATTR_STRINGIFY_FETCHES:Int

staticfinalread onlyATTR_TIMEOUT:Int

staticfinalread onlyCASE_LOWER:Int

staticfinalread onlyCASE_NATURAL:Int

staticfinalread onlyCASE_UPPER:Int

staticfinalread onlyCURSOR_FWDONLY:Int

staticfinalread onlyCURSOR_SCROLL:Int

staticfinalread onlyERRMODE_EXCEPTION:Int

staticfinalread onlyERRMODE_SILENT:Int

staticfinalread onlyERRMODE_WARNING:Int

staticfinalread onlyERR_NONE:String

staticfinalread onlyFETCH_ASSOC:Int

staticfinalread onlyFETCH_BOTH:Int

staticfinalread onlyFETCH_BOUND:Int

staticfinalread onlyFETCH_CLASS:Int

staticfinalread onlyFETCH_CLASSTYPE:Int

staticfinalread onlyFETCH_COLUMN:Int

staticfinalread onlyFETCH_FUNC:Int

staticfinalread onlyFETCH_GROUP:Int

staticfinalread onlyFETCH_INTO:Int

staticfinalread onlyFETCH_KEY_PAIR:Int

staticfinalread onlyFETCH_LAZY:Int

staticfinalread onlyFETCH_NAMED:Int

staticfinalread onlyFETCH_NUM:Int

staticfinalread onlyFETCH_OBJ:Int

staticfinalread onlyFETCH_ORI_ABS:Int

staticfinalread onlyFETCH_ORI_FIRST:Int

staticfinalread onlyFETCH_ORI_LAST:Int

staticfinalread onlyFETCH_ORI_PRIOR:Int

staticfinalread onlyFETCH_ORI_REL:Int

staticfinalread onlyFETCH_PROPS_LATE:Int

staticfinalread onlyFETCH_SERIALIZE:Int

staticfinalread onlyFETCH_UNIQUE:Int

staticfinalread onlyNULL_NATURAL:Int

staticfinalread onlyPARAM_BOOL:Int

staticfinalread onlyPARAM_EVT_ALLOC:Int

staticfinalread onlyPARAM_EVT_EXEC_POST:Int

staticfinalread onlyPARAM_EVT_EXEC_PRE:Int

staticfinalread onlyPARAM_EVT_FETCH_POST:Int

staticfinalread onlyPARAM_EVT_FETCH_PRE:Int

staticfinalread onlyPARAM_EVT_FREE:Int

staticfinalread onlyPARAM_EVT_NORMALIZE:Int

staticfinalread onlyPARAM_INPUT_OUTPUT:Int

staticfinalread onlyPARAM_INT:Int

staticfinalread onlyPARAM_LOB:Int

staticfinalread onlyPARAM_NULL:Int

staticfinalread onlyPARAM_STMT:Int

staticfinalread onlyPARAM_STR:Int

Constructor

new(dns:String, ?username:String, ?password:String, ?options:NativeArray)

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–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/php/db/PDO.html