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

"Prefix primary keys with table name", table api error #57

Closed
simonhunt8475 opened this issue Feb 29, 2024 · 0 comments
Closed

"Prefix primary keys with table name", table api error #57

simonhunt8475 opened this issue Feb 29, 2024 · 0 comments

Comments

@simonhunt8475
Copy link

The generated table API is not respecting the prefixPKwithTname:true setting.

For example:

# settings = {prefixPKwithTname:true, "api":"Y"}
person
  first_name 
  last_name
  first_date
addreess
  address1
  address2
  person_id

the resulting table api includes:

    begin 
        insert into addreess ( 
            id,
            person_id,
            address1,
            address2
        ) values ( 
            p_id,
            p_person_id,
            p_address1,
            p_address2
        );

the ID column should be ADDRESS_ID and I'd like to see p_id become p_address_id.

Thank you.

vadim-tropashko added a commit that referenced this issue Mar 22, 2024
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