-
-
Notifications
You must be signed in to change notification settings - Fork 648
Closed
Description
The module is great but it would be great to have the PHP-PDO style parameterization. At the moment an examaple sql query is Select 1+? as sum
, this becomes confusing with more multiple parameters Select users.json, EXISTS(Select 1 from moderators where moderators.id = ?) as is_moderator from users where users.id = ? and users.status = ? and users.complete_status = ?
.
However in pdo, it's always simple and you can use the same parameter at multiple locations Select users.json,EXISTS(Select 1 from moderators where moderators.id = :id) as is_moderator from users where users.id = :id and users.status = :status and users.complete_status = :complete_status
.
Metadata
Metadata
Assignees
Labels
No labels