2019-12-13 15:11:49 -05:00
|
|
|
<?php declare(strict_types=1);
|
|
|
|
/**
|
|
|
|
* Query
|
|
|
|
*
|
|
|
|
* SQL Query Builder / Database Abstraction Layer
|
|
|
|
*
|
2020-04-10 20:54:31 -04:00
|
|
|
* PHP version 7.4
|
2019-12-13 15:11:49 -05:00
|
|
|
*
|
|
|
|
* @package Query
|
|
|
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
2020-03-18 11:31:56 -04:00
|
|
|
* @copyright 2012 - 2020 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
|
|
|
|
* @version 3.0.0
|
|
|
|
*/
|
|
|
|
namespace Query;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 'Enum' of query types
|
|
|
|
*/
|
|
|
|
class QueryType {
|
|
|
|
public const SELECT = 'select';
|
|
|
|
public const INSERT = 'insert';
|
2020-04-17 14:57:56 -04:00
|
|
|
public const INSERT_BATCH = 'insert_batch';
|
2019-12-13 15:11:49 -05:00
|
|
|
public const UPDATE = 'update';
|
2020-04-17 14:57:56 -04:00
|
|
|
public const UPDATE_BATCH = 'update_batch';
|
2019-12-13 15:11:49 -05:00
|
|
|
public const DELETE = 'delete';
|
|
|
|
}
|