Skip to content

Clean up handling of $schema #4

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

Open
ProLoser opened this issue Jun 7, 2012 · 4 comments
Open

Clean up handling of $schema #4

ProLoser opened this issue Jun 7, 2012 · 4 comments

Comments

@ProLoser
Copy link
Member

ProLoser commented Jun 7, 2012

Right now I'm not really providing the object modeler with anything useful for $schema and $table related methods. I am curious what I'm losing by doing this (perhaps form field introspection) and if I should try and provide a way to support this?

@abalonepaul
Copy link

I'll be working on this with the Salesforce plugin. Right now I am able to pass simple SOQL queries by using some of the Core query building methods. I am using table, and plan to add schema functionality.

tenebrousedge added a commit that referenced this issue Jan 7, 2013
Return of an associative array for OAuthCredentials
@tenebrousedge
Copy link
Member

Currently the datasource will use any schema declared using a $schema variable in the model. It's only really useful for saving data, I think. The CakePHP API documentation will have you believe that you can set $_schema in your models, but for some reason it sets this to null when saving.

I'm not really sure if the current behavior is sufficient to close this issue. Please clarify desired functionality.

@ProLoser
Copy link
Member Author

This is just something I planned to look into further because I wasn't sure what it provides and what we lose by leaving it out. @imsamurai had the solution of providing keys from the config map which I liked, but it may not be relevant or necessary.

@ProLoser
Copy link
Member Author

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

3 participants