|
| | initialize () |
| |
| | connect ($config) |
| |
| | query ($sql) |
| |
| | exec ($sql) |
| |
| | fetch_array ($resultQuery=NULL, $opt='') |
| |
| | close () |
| |
| | num_rows ($result_query=NULL) |
| |
| | field_name ($number, $resultQuery=NULL) |
| |
| | data_seek ($number, $result_query=NULL) |
| |
| | affected_rows ($result_query=NULL) |
| |
| | error ($err='') |
| |
| | no_error ($number=0) |
| |
| | in_query ($sql) |
| |
| | in_query_assoc ($sql) |
| |
| | in_query_num ($sql) |
| |
| | fetch_one ($sql) |
| |
| | fetch_all ($sql) |
| |
| | last_insert_id ($name='') |
| |
| | insert ($table, $values, $pk='') |
| |
| | update ($table, $fields, $values, $where_condition=null) |
| |
| | delete ($table, $where_condition) |
| |
| | limit ($sql) |
| |
| | create_table ($table, $definition, $index=array()) |
| |
| | drop_table ($table, $if_exists=false) |
| |
| | table_exists ($table, $schema='') |
| |
| | describe_table ($table, $schema='') |
| |
Definición en la línea 32 del archivo interface.php.
| affected_rows |
( |
|
$result_query = NULL) | |
|
| create_table |
( |
|
$table, |
|
|
|
$definition, |
|
|
|
$index = array() |
|
) |
| |
| data_seek |
( |
|
$number, |
|
|
|
$result_query = NULL |
|
) |
| |
Este metodo no esta soportado por PDO, usar fetch_all y luego contar con count()
- Parámetros
-
- Devuelve
- boolean
| delete |
( |
|
$table, |
|
|
|
$where_condition |
|
) |
| |
- Parámetros
-
- Devuelve
- integer
| describe_table |
( |
|
$table, |
|
|
|
$schema = '' |
|
) |
| |
| drop_table |
( |
|
$table, |
|
|
|
$if_exists = false |
|
) |
| |
| fetch_array |
( |
|
$resultQuery = NULL, |
|
|
|
$opt = '' |
|
) |
| |
| field_name |
( |
|
$number, |
|
|
|
$resultQuery = NULL |
|
) |
| |
- Parámetros
-
- Devuelve
- string
| insert |
( |
|
$table, |
|
|
|
$values, |
|
|
|
$pk = '' |
|
) |
| |
| last_insert_id |
( |
|
$name = '') | |
|
| num_rows |
( |
|
$result_query = NULL) | |
|
Este metodo no esta soportado por PDO, usar fetch_all y luego contar con count()
- Parámetros
-
- Devuelve
- integer
| table_exists |
( |
|
$table, |
|
|
|
$schema = '' |
|
) |
| |
| update |
( |
|
$table, |
|
|
|
$fields, |
|
|
|
$values, |
|
|
|
$where_condition = null |
|
) |
| |
- Parámetros
-
- Devuelve
- integer
La documentación para este interfaz fue generada a partir del siguiente fichero: