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 functions with schema prefix #240

Closed
kliushnichenko opened this issue Mar 15, 2024 · 0 comments · Fixed by #242
Closed

Support functions with schema prefix #240

kliushnichenko opened this issue Mar 15, 2024 · 0 comments · Fixed by #242

Comments

@kliushnichenko
Copy link
Contributor

kliushnichenko commented Mar 15, 2024

Example

CREATE TABLE foo
(
    entity_id        UUID PRIMARY KEY DEFAULT public.getId(),
    name             VARCHAR(64),
    CONSTRAINT my_constraint  CHECK(v2.my_function(name) IS TRUE)
);

Currently, if the reference to the function contains schema (public. and v2. in the example above) parser returns an empty result.
Would be nice to support this case as well.

kliushnichenko added a commit to kliushnichenko/simple-ddl-parser that referenced this issue Mar 23, 2024
Support functions with schema prefix in `DEFAULT` and `CHECK` statements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant