|
dbxapp 4.5.3
Technische API-Referenz der dbxapp-Plattform
|
Zerlegt einfache SQL-Anweisungen in ihre strukturellen Bestandteile. Mehr ...
Öffentliche Methoden | |
| analyze ($sql) | |
| get_type ($default='UNKNOWN') | |
| get_fields ($default=' *') | |
| get_table ($default='') | |
| get_where ($default='') | |
| get_order_by ($default='') | |
| get_group_by ($default='') | |
| get_limit ($default=100) | |
| get_offset ($default=0) | |
Öffentliche Attribute | |
| $sql = '' | |
| $type = 'UNKNOWN' | |
| $fields = '' | |
| $values = '' | |
| $table = '' | |
| $where = '' | |
| $order_by = '' | |
| $group_by = '' | |
| $limit = 100 | |
| $offset = 0 | |
| $is_valid = true | |
Zerlegt einfache SQL-Anweisungen in ihre strukturellen Bestandteile.
Der Analyzer erkennt SELECT, INSERT, UPDATE und DELETE und stellt Typ, Tabelle, Felder, Bedingungen, Sortierung sowie Begrenzung getrennt bereit.
| dbxAnalyzerSQL::analyze | ( | $sql | ) |
Benutzt $sql.
| dbxAnalyzerSQL::get_fields | ( | $default = '*' | ) |
| dbxAnalyzerSQL::get_group_by | ( | $default = '' | ) |
| dbxAnalyzerSQL::get_limit | ( | $default = 100 | ) |
| dbxAnalyzerSQL::get_offset | ( | $default = 0 | ) |
| dbxAnalyzerSQL::get_order_by | ( | $default = '' | ) |
| dbxAnalyzerSQL::get_table | ( | $default = '' | ) |
| dbxAnalyzerSQL::get_type | ( | $default = 'UNKNOWN' | ) |
| dbxAnalyzerSQL::get_where | ( | $default = '' | ) |
| dbxAnalyzerSQL::$fields = '' |
| dbxAnalyzerSQL::$group_by = '' |
| dbxAnalyzerSQL::$is_valid = true |
| dbxAnalyzerSQL::$limit = 100 |
| dbxAnalyzerSQL::$offset = 0 |
| dbxAnalyzerSQL::$order_by = '' |
| dbxAnalyzerSQL::$sql = '' |
Wird benutzt von analyze().
| dbxAnalyzerSQL::$table = '' |
| dbxAnalyzerSQL::$type = 'UNKNOWN' |
| dbxAnalyzerSQL::$values = '' |
| dbxAnalyzerSQL::$where = '' |