- Work done on Repository and QueryBuilder -- fixed some minor bugs and added some delete() functions

- Added a generic SQL query function to PDOObject
This commit is contained in:
Dave Mc Nicoll committed 2019-12-19 09:54:33 -05:00
1 parent b589ba3c2b
commit 9df7e65dcf
10 files changed
+139 -31

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
<?php
namespace Ulmus\Query;
class Delete extends Fragment {
public int $order = -100;
public bool $lowPriority = false;
public bool $quick = false;
public bool $ignore = false;
public string $alias;
public function render() : string
{
return $this->renderSegments([
'DELETE',
( $this->alias ?? false ),
( $this->lowPriority ? 'LOW_PRIORITY' : false ),
( $this->quick ? 'QUICK' : false ),
( $this->ignore ? 'IGNORE' : false ),
]);
}
}