.cast() as an operator
Issue #2687
resolved
Looking at https://wiki.postgresql.org/images/b/b4/Pg-as-nosql-pgday-fosdem-2013.pdf I'm reminded that when we add the PG JSON type, we're going to want to pull out fields and cast them in PG's style, i.e. "data::type". Some TODOs:
-
add cast() as an operator, that on most backends produces CAST()
-
on PG, it produces the "::" format.
-
add a coerce() operator as well, that does type_coerce().
-
docs for cast(), type_coerce(), and the operators should all cross-link each other
Comments (2)
-
reporter -
reporter - removed milestone
Removing milestone: 0.9.0 (automated comment)
- Log in to comment
this is pretty specific to the new JSON type for now. 2104d0ba2d612a26d36