메소드 |
설명 |
|
add_table_index ( $aIndexName, $aTable, $aOnColumns, $indexmeta = false ) |
|
|
assoc_table_name ( $assoc_name ) |
|
|
build_table ( $table_name, $fields_to_add, $use_cache = false ) |
|
|
build_tables ( $tables ) |
|
|
clean_input ( $input ) |
|
|
escape_string ( string | array $value ) : mixed |
Escapes a string from sql injection. |
|
get_fields ( $table ) : array |
Gets all field names from a DB table. |
|
get_prefix ( ) |
|
|
get_sql_engine ( ) |
|
|
get_table_ddl ( $full_table_name ) |
|
|
get_tables_list ( ) |
|
|
guess_cache_group ( $group ) |
|
|
import_sql_file ( $full_path_to_file ) : boolean |
Imposts SQL file in the DB. |
|
map_array_to_table ( $table, $array ) : array |
Returns an array that contains only keys that has the same names as the table fields from the database. |
|
query_log ( ) |
|
|
real_table_name ( $assoc_name ) |
|
|
remove_comments_from_sql_string ( $output ) : string |
Will strip the sql comment lines out of an given sql string. |
|
remove_sql_remarks ( $sql ) |
|
|
split_sql_file ( $sql, $delimiter ) |
|
|
update_position_field ( $table, $data = [] ) |
|
|