summaryrefslogtreecommitdiffstats
path: root/src/Utils/Table.php
Commit message (Collapse)AuthorAgeFilesLines
* Remove useless comments and annotationsMaurício Meneghini Fauth2019-12-141-4/+0
| | | | Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
* Enable strict mode on PHP filesMaurício Meneghini Fauth2019-01-161-1/+1
| | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* Apply phpmyadmin/coding-standardMaurício Meneghini Fauth2019-01-161-14/+14
| | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* Cleanup and improve readability:Bruno Perel2018-11-261-8/+8
| | | | | Avoid duplicate if conditions Use switch/case instead of ifs when possible
* Added PhpMyAdmin namespace prefix to follow PSR-4.Michal Čihař2017-01-231-2/+2
| | | | | | Fixes #126 Signed-off-by: Michal Čihař <michal@cihar.com>
* Apply php-cs-fixerDamian Dlugosz2017-01-061-10/+4
|
* Clarify licenseMichal Čihař2016-09-261-1/+1
| | | | | | | | | - Add link to official license text - Use SPDX identifier for license - Clarify that the code is GPL or later - See issue #89 Signed-off-by: Michal Čihař <michal@cihar.com>
* Remove @author from comment metadataMichal Čihař2016-09-261-1/+0
| | | | | | | | - We're doing this for ages in phpmyadmin repo - The comments get outdated over time - See issue #89 Signed-off-by: Michal Čihař <michal@cihar.com>
* Support for references from different tables.v3.0.0Dan Ungureanu2015-10-031-1/+2
|
* Better parsing for CREATE TABLE statements.v2.0.0Dan Ungureanu2015-09-251-1/+6
| | | | Fixes #16.
* Introduced the buffered query parser. This is used to extract statements from aDan Ungureanu2015-08-091-1/+1
| | | | | | buffered string that may be parsed using the parser. DELIMITER is no longer reported as unexpected beginning of statement. Fixed typos.
* Added switch to skip sorting options.Dan Ungureanu2015-07-141-1/+1
| | | | Renamed the keys used for options to something more relevant.
* Improved Table utilities.Dan Ungureanu2015-07-141-0/+5
| | | | Fixed coding style.
* More coding style fixes. And typos. Lots of them.Dan Ungureanu2015-07-081-5/+0
|
* The context depends on the SQL mode.Dan Ungureanu2015-07-041-2/+8
| | | | | | | | | Implemented a few more builders. Improved some fragments and statement types. Fixed the noAlias option in FieldFragment. Reordered CREATE statements's options. Updated contexts definitions. Fixed typos. Improved tests.
* Added statement builder (converts statement trees into executable query ↵Dan Ungureanu2015-06-301-3/+0
| | | | | | | | | | | strings). Implemented support for UNIONs in parser. Code coverage is now over 99%. Fixed CHECKSUM statement (typos). Refactored code. Removed pieces of duplicated code. Improved documentation and fixed coding style. Improved PHPUnit's configuration (more test suites for fine-grained testing).
* Improved documentation.Dan Ungureanu2015-06-261-8/+14
|
* Added query utilities.Dan Ungureanu2015-06-251-2/+17
| | | | | | | | Included basic support for ANALYZE, BACKUP, CHECK, CHECKSUM, OPTIMIZE, REPAIR and RESTORE statements. Better parsing for fields, SELECT statement, INTO keyword. Improved contexts (included functions). Improved documentation. Refactoring and coding style fixes.
* Less strict type hinting in Utilities subpackage.Dan Ungureanu2015-06-241-5/+5
|
* Refactoring.Dan Ungureanu2015-06-231-3/+3
| | | | Improved tests and documentation.
* Added table utilities.Dan Ungureanu2015-06-231-1/+44
| | | | | Implemented better support for keys in FieldDefFragment. Improved contexts' documentation and definition.
* Added table utilities.Dan Ungureanu2015-06-221-0/+69
Refactoring and bug fixing.