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

handel model meta attribute #1623

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

medchkir
Copy link

meta attribute is used for sails-postgresql adapter for setting table schemaName (like client.t_order. "client" is the schemaName and "t_order" is the table name).

meta attribute is used for sails-postgresql adapter for setting table schemaName (like client.t_order. "client" is the schemaName and "t_order" is the table name).
@medchkir
Copy link
Author

can you please merge this request ?

@eashaw
Copy link
Member

eashaw commented Apr 29, 2022

Hi @medchkir, thanks for submitting this PR.

Where did you find this information documented?

1 similar comment
@eashaw
Copy link
Member

eashaw commented Apr 29, 2022

Hi @medchkir, thanks for submitting this PR.

Where did you find this information documented?

@medchkir
Copy link
Author

hi, a find this solution in stackoverflow and i made a lot of test. This code handel perfectly the select mode for the model, but not for the populate case.
So i moved forward to chande another module waterline-utils to handel the schema data in the join query.
I putted my changed in a fork git and i putted the link as "resolutions" in my package.json, like this :

"resolutions": {
    "waterline": "https://gitlab.com/mch-service/waterline",
    "waterline-utils": "https://gitlab.com/mch-service/waterline-utils"
  }

I hope you can merge this changes in the original modules for all the sails community.
thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants