-
-
Notifications
You must be signed in to change notification settings - Fork 542
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ltree #510
Comments
Hey @cemoktra, I guess you need to implement |
Ok also possible, and what about mapping ltree to TEXT? |
But I think I'll provide some changes for ltree |
I'm not sure how But for
|
I started with the basic work on sqlx: launchbadge/sqlx#1696 |
Thanks!! @cemoktra |
Yeah maybe. Currently sea-query does not depend on sqlx itself, but in order to use my new type it will |
Do you have any opinion on how to integrate this into seaql? |
I think we can treat ltree as a simple string? Then, we don't need any additional SQLx dependency. |
Currently i get
Just doing a query works |
Same for insert |
Ok found the missing piece, sorry |
This is sad but I think our general response to "support a particular Postgres feature" will be "we will gladly accept PR" for now |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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.The text was updated successfully, but these errors were encountered: