Custom types on the other side of the driver #1618
ABuffSeagull
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
I think your |
Beta Was this translation helpful? Give feedback.
1 reply
-
Can you explain where you're adding this fragment? I'm assuming somewhere in your actual |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since I've been using PostGIS a bit, I've wondered if there's a better way to deal with spatial data types.
Currently I just have:
This works pretty well, the
never
helping me catch when I'm trying to use it, since the data inside the DB is basically worthless once it's outside.Unfortunately, the
toDriver
andfromDriver
only work outside of the database, so there's nothing I can really do, and I have to do an ad hoc sql fragment every time:I wonder if there's a way you can template in some fragments every time the column is used directly in a select statement, like:
Beta Was this translation helpful? Give feedback.
All reactions