silverstripe-framework/tests/model/SQLQueryTest.yml
Damian Mooyman 76c63fe4a4 BUG Fixed issue with SQLQuery::lastRow crashing on empty set. Added test cases for lastRow and firstRow.
Quoted table / column names to make test cases work in postgres

BUG Fixed issue with SQLQuery::lastRow crashing on empty set. Added test cases for lastRow and firstRow.

Quoted table / column names to make test cases work in postgres

Merge branch '3.0-sqlquery-lastrow-fix' of github.com:tractorcow/sapphire into 3.0-sqlquery-lastrow-fix
2012-11-16 13:27:51 +13:00

7 lines
120 B
YAML

SQLQueryTest_DO:
test1:
Name: 'Object 1'
Meta: 'Details 1'
test2:
Name: 'Object 2'
Meta: 'Details 2'