Typed ORM predicates prevent raw driver-value failures
A value interpolated into a raw ORM SQL template may bypass the encoder associated with the compared column. For timestamps, prefer the ORM’s typed comparison predicate so the column encoder converts the language-native date into the driver’s supported representation. A compile-…