Replies: 13 comments
-
Hey @cemoktra, I guess you need to implement |
Beta Was this translation helpful? Give feedback.
-
Ok also possible, and what about mapping ltree to TEXT? |
Beta Was this translation helpful? Give feedback.
-
But I think I'll provide some changes for ltree |
Beta Was this translation helpful? Give feedback.
-
I'm not sure how But for
|
Beta Was this translation helpful? Give feedback.
-
I started with the basic work on sqlx: launchbadge/sqlx#1696 |
Beta Was this translation helpful? Give feedback.
-
Thanks!! @cemoktra |
Beta Was this translation helpful? Give feedback.
-
Yeah maybe. Currently sea-query does not depend on sqlx itself, but in order to use my new type it will |
Beta Was this translation helpful? Give feedback.
-
Do you have any opinion on how to integrate this into seaql? |
Beta Was this translation helpful? Give feedback.
-
I think we can treat ltree as a simple string? Then, we don't need any additional SQLx dependency. |
Beta Was this translation helpful? Give feedback.
-
Currently i get
Just doing a query works |
Beta Was this translation helpful? Give feedback.
-
Same for insert |
Beta Was this translation helpful? Give feedback.
-
Ok found the missing piece, sorry |
Beta Was this translation helpful? Give feedback.
-
This is sad but I think our general response to "support a particular Postgres feature" will be "we will gladly accept PR" for now |
Beta Was this translation helpful? Give feedback.
-
We just played around with ltrees.
sea-orm-cli
currently generates an empty enum. Maybe for the special ltree case it shoud generate something likeCurrently this ends up in
error: Missing macro attribute, either
string_valueor
num_valueshould be specified
, so there would need to be a way to extract the string out of the Value variant.Beta Was this translation helpful? Give feedback.
All reactions