Skip to content
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

Support for lquery #1710

Merged
merged 6 commits into from
Feb 17, 2022
Merged

Support for lquery #1710

merged 6 commits into from
Feb 17, 2022

Conversation

cemoktra
Copy link
Contributor

Following the basic support for ltree, here is a PR to add a lquery struct (besides lquery would work with text too)

@cemoktra
Copy link
Contributor Author

I did try to add tests like for the ltree but there is not comparison operator for lquery on postgres side

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
@abonander
Copy link
Collaborator

@cemoktra if you want to in a follow-up PR, you could add a regular #[sqlx::test] async fn to tests/postgres/types.rs which checks that PgLTree and PgLQuery function together in the database.

@abonander abonander merged commit dd39e79 into launchbadge:master Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants