2019-12-13 15:11:49 -05:00
|
|
|
<?php declare(strict_types=1);
|
|
|
|
/**
|
|
|
|
* Query
|
|
|
|
*
|
|
|
|
* SQL Query Builder / Database Abstraction Layer
|
|
|
|
*
|
2022-09-29 11:33:08 -04:00
|
|
|
* PHP version 8.1
|
2019-12-13 15:11:49 -05:00
|
|
|
*
|
|
|
|
* @package Query
|
2023-01-20 11:30:51 -05:00
|
|
|
* @author Timothy J. Warren <tim@timshome.page>
|
|
|
|
* @copyright 2012 - 2023 Timothy J. Warren
|
2019-12-13 15:11:49 -05:00
|
|
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
|
|
|
* @link https://git.timshomepage.net/aviat/Query
|
2022-09-29 11:33:08 -04:00
|
|
|
* @version 4.0.0
|
2019-12-13 15:11:49 -05:00
|
|
|
*/
|
|
|
|
namespace Query;
|
|
|
|
|
|
|
|
/**
|
2023-01-20 11:30:51 -05:00
|
|
|
* Enum of query types
|
2019-12-13 15:11:49 -05:00
|
|
|
*/
|
2023-01-13 13:14:28 -05:00
|
|
|
enum QueryType: string {
|
|
|
|
case SELECT = 'select';
|
|
|
|
case INSERT = 'insert';
|
|
|
|
case INSERT_BATCH = 'insert_batch';
|
|
|
|
case UPDATE = 'update';
|
|
|
|
case UPDATE_BATCH = 'update_batch';
|
|
|
|
case DELETE = 'delete';
|
2019-12-13 15:11:49 -05:00
|
|
|
}
|