Skip to content

? is not correctly parsed around SELECT, LIMIT and OFFSET #498

Closed
@BackEndTea

Description

@BackEndTea

This first query results in multiple An expression was expected. error, while query two has no issues.

This is valid through the PDO::prepare

SELECT ?
FROM uno
JOIN dos  ON dos.id = uno.id
LIMIT ? OFFSET ?
SELECT item
FROM uno
JOIN dos  ON dos.id = uno.id
LIMIT 10 OFFSET 5

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions