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

V5 - Composite type filters are ignored #211

Open
FuJa0815 opened this issue Jun 9, 2024 · 0 comments
Open

V5 - Composite type filters are ignored #211

FuJa0815 opened this issue Jun 9, 2024 · 0 comments

Comments

@FuJa0815
Copy link

FuJa0815 commented Jun 9, 2024

With this example db:

CREATE TYPE position_type AS (
    address TEXT,
    lat FLOAT,
    lon FLOAT
);

CREATE TABLE house (
    id SERIAL PRIMARY KEY,
    position position_type
);

INSERT INTO house (position) VALUES (('Some location', 0, 0));

It generates this schema:
image

But settings filters for address does not affect the generated SQL.

It would be great to be able to filter columns of composite types, or to remove the generation of these filters as they are misleading

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

1 participant