Free Query Builder / Database Abstraction Layer

]]>
DB_Reg \DB_Reg Decouples the Settings class from the query builder and organizes database connections

]]>
$instance get_db function string object $key __construct function string $key get_connections function array remove_db function string void $key
Free Query Builder / Database Abstraction Layer

]]>
Settings \Settings Use JSON for compatibility

]]>
$current $instance get_instance function \Settings __construct function __destruct function __get function string mixed $key __set function string $key $val add_db function string array $name $params edit_db function string array $name $params remove_db function string $name get_dbs function array get_db function string object $name
Free Query Builder / Database Abstraction Layer

]]>
DB_SQL \DB_SQL max function string min function string distinct function string avg function string sum function string limit function string int int string $sql $limit $offset random function string db_list function string table_list function string system_table_list function string view_list function string trigger_list function string function_list function FALSE procedure_list function string sequence_list function string
Free Query Builder / Database Abstraction Layer

]]>
DB_PDO \DB_PDO \PDO Extends PDO to simplify cross-database issues

]]>
$statement $escape_char $sql $util __construct function string string string array $dsn $username $password $driver_options prepare_query function string array mixed $sql $data prepare_execute function string array \PDOStatement $sql $params get_query_data function \PDOStatement array $statement affected_rows function \PDOStatement int $statement get_last_error function string quote_ident function mixed string $ident empty_table function string mixed $table get_schemas function array get_tables function array get_dbs function array get_views function array get_sequences function array get_functions function array get_procedures function array get_triggers function array get_system_tables function array driver_query function string bool mixed $sql $filtered_index truncate function string void $table num_rows function int switch_db function string void $name
Free Query Builder / Database Abstraction Layer

]]>
Query_Builder \Query_Builder $select_string $from_string $set_string $order_string $group_string $set_array $set_array_keys $order_array $group_array $values $limit $offset $sql db->sql]]> $query_map Format:

array( 'type' => 'where', 'conjunction' => ' AND ', 'string' => 'k=?' )

]]>
$having_map $conn_name __construct function object $params select function string \$this $fields select_max function string string \$this $field $as select_min function string string \$this $field $as select_avg function string string \$this $field $as select_sum function string string \$this $field $as distinct function \$this from function string \$this $dbname like function string mixed string \$this $field $val $pos or_like function string mixed string \$this $field $val $pos not_like function string mixed string \$this $field $val $pos or_not_like function string mixed string \$this; $field $val $pos having function mixed mixed \$this $key $val or_having function mixed mixed \$this $key $val _where function mixed mixed array $key $val where function mixed mixed \$this $key $val or_where function string mixed \$this $field $val where_in function mixed mixed \$this $field $val or_where_in function string mixed \$this $field $val where_not_in function string mixed \$this $field $val or_where_not_in function string mixed \$this $field $val set function mixed mixed \$this $key $val join function string string string \$this $table $condition $type group_by function mixed \$this $field order_by function string string \$this $field $type limit function int int string $limit $offset group_start function \$this or_group_start function \$this or_not_group_start function \$this group_end function \$this get function int int object $table $limit $offset get_where function string array int int object $table $where $limit $offset count_all function string int $table count_all_results function string int $table insert function string mixed mixed $table $data update function string mixed mixed $table $data delete function string mixed mixed $table $where __call function string array mixed $name $params _reset function _compile function string string \$string $type $table
Free Query Builder / Database Abstraction Layer

]]>
DB_Util \DB_Util $conn __construct function object $conn __call function string array $method $args create_table function string array array array string $name $columns $constraints array $indexes array delete_table function string string $name backup_structure function string backup_data function string
Free Query Builder / Database Abstraction Layer

]]>
BASE_PATH DRIVER_PATH do_include function string void $path db_filter function array mixed array $array $index
Free Query Builder / Database Abstraction Layer

]]>
pgSQL_SQL \pgSQL_SQL \DB_SQL limit function string int int string $sql $limit $offset random function string db_list function string table_list function string system_table_list function string view_list function string trigger_list function string function_list function FALSE procedure_list function string sequence_list function string column_list function string string $table
Free Query Builder / Database Abstraction Layer

]]>
PgSQL_Util \PgSQL_Util \DB_Util __construct function object void $conn create_table function string array array array string $name $columns $constraints array $indexes array delete_table function string string $name backup_structure function string backup_data function array string $exclude
Free Query Builder / Database Abstraction Layer

]]>
pgSQL \pgSQL \DB_PDO __construct function string string string array $dsn $username $password $options switch_db function string $name truncate function string $table num_rows function int get_schemas function array
Free Query Builder / Database Abstraction Layer

]]>
ODBC_Util \ODBC_Util \DB_Util __construct function object void $conn create_table function string array array array string $name $columns $constraints array $indexes array delete_table function string string $name backup_structure function string backup_data function string
Free Query Builder / Database Abstraction Layer

]]>
ODBC_SQL \ODBC_SQL \DB_SQL limit function string int int string $sql $limit $offset random function string db_list function FALSE table_list function FALSE system_table_list function FALSE view_list function FALSE trigger_list function FALSE function_list function FALSE procedure_list function FALSE sequence_list function FALSE
Free Query Builder / Database Abstraction Layer

]]>
ODBC \ODBC \DB_PDO For general database access for databases not specified by the main drivers

]]>
$escape_char __construct function string string string array $dsn $username $password $options switch_db function string bool $name truncate function string void $table num_rows function int
Free Query Builder / Database Abstraction Layer

]]>
MySQL_Util \MySQL_Util \DB_Util __construct function object void $conn create_table function string array array array string $name $columns $constraints array $indexes array delete_table function string string $name backup_structure function string backup_data function array string $exclude
Free Query Builder / Database Abstraction Layer

]]>
MySQL \MySQL \DB_PDO $escape_char __construct function string string string array $dsn $username $password $options switch_db function string $name truncate function string $table num_rows function int
Free Query Builder / Database Abstraction Layer

]]>
MySQL_SQL \MySQL_SQL \DB_SQL limit function string int int string $sql $limit $offset random function string db_list function string table_list function string system_table_list function string view_list function string trigger_list function string function_list function string procedure_list function string sequence_list function FALSE
Free Query Builder / Database Abstraction Layer

]]>
SQLite_Util \SQLite_Util \DB_Util __construct function object void $conn create_table function string array array array string $name $columns $constraints array $indexes array delete_table function string string $name backup_data function array string $excluded backup_structure function string
Free Query Builder / Database Abstraction Layer

]]>
SQLite \SQLite \DB_PDO $statement __construct function string string string $dsn $user $pass switch_db function string $name truncate function string $table get_tables function mixed get_system_tables function array load_database function string string $db $name unload_database function string $name num_rows function int
Free Query Builder / Database Abstraction Layer

]]>
SQLite_SQL \SQLite_SQL \DB_SQL limit function string int int string $sql $limit $offset random function string db_list function FALSE table_list function string system_table_list function string view_list function string trigger_list function FALSE function_list function FALSE procedure_list function FALSE sequence_list function FALSE
Free Query Builder / Database Abstraction Layer

]]>
Firebird_SQL \Firebird_SQL \DB_SQL limit function string int int string $sql $limit $offset random function string db_list function FALSE table_list function string system_table_list function string view_list function string trigger_list function string function_list function string procedure_list function string sequence_list function string column_list function string string $table
Free Query Builder / Database Abstraction Layer

]]>
Firebird_Result \Firebird_Result \PDOStatement $statement __construct function resource $link bindColumn function mixed mixed int mixed array FALSE $column $param $type $maxlen $driverdata bindParam function mixed mixed int mixed array FALSE $parameter $variable $data_type $maxlen $driverdata bindValue function mixed mixed int FALSE $parameter $variable $data_type execute function array bool $args fetch function int mixed mixed mixed $fetch_style $statement $offset fetchAll function int mixed mixed mixed $fetch_style $statement $ctor_args fetchColumn function int mixed $column_num fetchObject function string array mixed $class_name $ctor_args rowCount function int num_rows function int errorCode function errorCode]]> string errorInfo function errorInfo / PDOStatement->errorInfo]]> array
Free Query Builder / Database Abstraction Layer

]]>
Firebird \Firebird \DB_PDO PDO-firebird isn't stable, so this is a wrapper of the fbird_ public functions.

]]>
$statement $statement_link $trans $conn __construct function string string string $dbpath $user $pass switch_db function string FALSE $name truncate function string $table query function string \$this $sql prepare function string array \$this $query $options num_rows function int beginTransaction function bool commit function bool rollBack function bool prepare_execute function string array resource $sql $args quote function quote]]> string int string $str $param_type errorInfo function errorInfo / PDOStatement->errorInfo]]> array errorCode function errorCode]]> array prepare_query function string array FALSE $sql $params
Free Query Builder / Database Abstraction Layer

]]>
Firebird_Util \Firebird_Util \DB_Util __construct function object void $conn create_table function string array array array string $name $fields $constraints array $indexes array delete_table function string string $name backup_structure function string backup_data function array bool string $exclude $system_tables
todo fixme