diff options
Diffstat (limited to 'test/test_queries.php')
-rwxr-xr-x | test/test_queries.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_queries.php b/test/test_queries.php index 7af954c..e3f0067 100755 --- a/test/test_queries.php +++ b/test/test_queries.php @@ -227,6 +227,8 @@ $expected = "SELECT `widget`.`name` AS `widget_name` FROM `widget`"; Tester::check_equal_query("Aliases in result columns", $expected); + /////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + ORM::for_table('widget')->select_expr('COUNT(*)', 'count')->find_many(); $expected = "SELECT COUNT(*) AS `count` FROM `widget`"; Tester::check_equal_query("Literal expression in result columns", $expected); |