Skip to content

v0.1.0-alpha.109

@jonesrussell jonesrussell tagged this 19 Mar 22:48
DBAL's createNamedParameter defaults to PARAM_STR, which causes
SQLite json_extract comparisons to fail silently — integer 1 stored
in JSON doesn't match string "1" bound by PDO.

Added inferType() helper that maps PHP types to DBAL ParameterType:
int/bool → INTEGER, null → NULL, default → STRING.

This fixes empty query results for all entity queries filtering on
JSON-stored fields like status, consent_public, etc.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Assets 2
Loading