mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixed query quoting in SQLQueryTest
This commit is contained in:
parent
120d90fd21
commit
b9f628146a
@ -391,7 +391,7 @@ class SQLQueryTest extends SapphireTest {
|
|||||||
$query = new SQLQuery();
|
$query = new SQLQuery();
|
||||||
$query->setSelect(array('"Name"', '"Meta"'));
|
$query->setSelect(array('"Name"', '"Meta"'));
|
||||||
$query->setFrom('"SQLQueryTest_DO"');
|
$query->setFrom('"SQLQueryTest_DO"');
|
||||||
$query->setOrderBy(array('MAX(Date)'));
|
$query->setOrderBy(array('MAX("Date")'));
|
||||||
$query->setGroupBy(array('"Name"', '"Meta"'));
|
$query->setGroupBy(array('"Name"', '"Meta"'));
|
||||||
$query->setLimit('1', '1');
|
$query->setLimit('1', '1');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user