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

Add support for custom where predicate and index type #97

Open
manwantnosmoke opened this issue Jan 4, 2023 · 1 comment
Open

Add support for custom where predicate and index type #97

manwantnosmoke opened this issue Jan 4, 2023 · 1 comment

Comments

@manwantnosmoke
Copy link

Motivation

Creating a partial index is impossible right now, but adding support for both index type and where predicate would help
creating an index like this:

CREATE UNIQUE INDEX cake_filling_id_idx ON public.cakes USING btree (filling_id) WHERE (filling_id IS NOT NULL);

@billy1624
Copy link
Member

Hey @manwantnosmoke, would be nice to have. A PR would be welcomed :)

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

No branches or pull requests

2 participants