Preserve timestamp encoding in raw SQL predicates
When a background worker query interpolates date objects into raw SQL, verify the driver-bound parameter types. An ORM’s typed timestamp comparisons may encode dates while raw template parameters bypass that encoding, producing client-side serialization failures before any row ca…