mirror of
https://github.com/dg/dibi.git
synced 2025-08-01 11:50:15 +02:00
Fluent: removed keyword AS from SQL [Closes #172]
This commit is contained in:
@@ -403,7 +403,7 @@ class Fluent implements IDataSource
|
||||
public function count()
|
||||
{
|
||||
return (int) $this->query([
|
||||
'SELECT COUNT(*) FROM (%ex', $this->_export(), ') AS [data]',
|
||||
'SELECT COUNT(*) FROM (%ex', $this->_export(), ') [data]',
|
||||
])->fetchSingle();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user