Query\Drivers\Mysql\SQL
MySQL specifc SQL
Synopsis
- // methods
- public string limit()
- public string explain()
- public string random()
- public string db_list()
- public string table_list()
- public string system_table_list()
- public string view_list()
- public string trigger_list()
- public string function_list()
- public string procedure_list()
- public NULL sequence_list()
- public string type_list()
- public string column_list()
- public string fk_list()
- public array index_list()
- // Inherited methods from AbstractSQL
- public string limit()
Hierarchy
Extends
Coverage
Methods | 100% | 15 / 15 |
Lines | 100% | 20 / 20 |
Methods
public
- column_list() — SQL to show infromation about columns in a table
- db_list() — Returns sql to list other databases
- explain() — Get the query plan for the sql query
- fk_list() — Get the list of foreign keys for the current table
- function_list() — Return sql to list functions
- index_list() — Get the list of indexes for the current table
- limit() — Limit clause
- procedure_list() — Return sql to list stored procedures
- random() — Random ordering keyword
- sequence_list() — Return sql to list sequences
- system_table_list() — Overridden in MySQL class
- table_list() — Returns sql to list tables
- trigger_list() — Returns sql to list triggers
- type_list() — SQL to show list of field types
- view_list() — Returns sql to list views
Inherited from Query\AbstractSQL
public
- limit() — Limit clause
History
-
2015-11-10T10:12:23-05:00 (commit #b5a141f)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
Make class names Pascal Case
-
2015-07-29T16:51:17-04:00 (commit #8511c6a)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Move library into src folder, fix simpletest test runner
-
2015-07-16T16:56:13-04:00 (commit #bfc3ea3)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Reorganize drivers into a more modern layout
-
2014-04-24T15:32:09-04:00 (commit #17354ee)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Move SQL and Util classes to their own namespaces
-
2014-04-17T16:41:12-04:00 (commit #d6c0fd2)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Add update and delete rules to foreign key methods
-
2014-04-15T16:15:08-04:00 (commit #80595df)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Update foreign key driver methods to return the same kind of information
-
2014-04-08T17:13:41-04:00 (commit #74d4a00)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Test improvements
-
2014-04-08T14:43:07-04:00 (commit #85b804a)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Update drivers with missing method
-
2014-04-07T16:49:49-04:00 (commit #2af3b0b)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Add method to retrieve foreign keys for a table to driver classes
-
2014-04-07T10:02:52-04:00 (commit #87754e6)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Micro-optimization for MySQL order by rand
-
2014-04-02T17:08:50-04:00 (commit #e3fdad5)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Namespaces!
-
2014-03-26T21:33:58-04:00 (commit #5b908f5)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Add abstract class for sql classes to have base limit method
-
2014-02-25T13:47:35-05:00 (commit #620441a)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Better test coverage
-
2014-02-04T20:59:30-05:00 (commit #8dc2079)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Add `explain` method to query builder
-
2014-01-02T12:36:50-05:00 (commit #6dc9ed0)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Update copyright for the new year
-
2013-05-01T15:59:23-04:00 (commit #40c76b2)
Author: Timothy Warren (tim@timshomepage.net) / Commiter: Timothy Warren (tim@timshomepage.net)
Changed invalid methods to return NULL instead of FALSE, added insert_batch