PgTyped
Wraps a value to explicitly specify the target PostgreSQL type.
Causes addition of a type cast (::pgType) to the generated SQL fragment. Useful for handling type ambiguities, e.g., with arrays.
Parameters
value
Value to embed in the query (avoid using with data classes where this is added automatically!).
pgType
PostgreSQL type name to which the value should be cast.