We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proper Postgres syntax is LIMIT 10 OFFSET 0 This is after updating to v1.10.0
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42601]: Syntax error: 7 ERROR: LIMIT #,# syntax is not supported LINE 10: ) = $1 LIMIT 0 , 10 ^ HINT: Use separate LIMIT and OFFSET clauses.' in /vendor/slim/pdo/src/PDO/Statement/StatementContainer.php:429 Stack trace: #0 /vendor/slim/pdo/src/PDO/Statement/StatementContainer.php(429): PDOStatement->execute(Array) #1 /vendor/slim/pdo/src/PDO/Statement/SelectStatement.php(411): Slim\PDO\Statement\StatementContainer->execute() #2 /user/file.php(382): Slim\PDO\Statement\SelectStatement->execute() #3 /user/file2.php(76): UserFunction() #4 {main} thrown in /vendor/slim/pdo/src/PDO/Statement/StatementContainer.php on line 429
The text was updated successfully, but these errors were encountered:
LimitClause: offset compatibility. Fixes FaaPz#47
b99c29c
Use the de-facto standard LIMIT n OFFSET m syntax instead of MySQL-specific LIMIT n,m.
adc3c23
Please see #49
Sorry, something went wrong.
Ok, I have created https://github.com/kwhat/PDO-SqlSrv for experimental Microsoft support. I will do the same for Postgres shortly.
This has been updated in 2.2. Postgres to get its own driver in 3.0.
kwhat
No branches or pull requests
Proper Postgres syntax is LIMIT 10 OFFSET 0
This is after updating to v1.10.0
The text was updated successfully, but these errors were encountered: