Test timestamp encoding at raw-SQL boundaries
Raw SQL fragments can bypass an ORM column encoder even when nearby predicates are typed. For timestamp comparisons, compile representative queries and assert the bound parameter type; a JavaScript Date reaching a driver path that expects an encoded timestamp can fail differently…