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

Allow easy selection of all data for an object #12

Open
fmcgeough opened this issue Sep 10, 2012 · 0 comments
Open

Allow easy selection of all data for an object #12

fmcgeough opened this issue Sep 10, 2012 · 0 comments

Comments

@fmcgeough
Copy link

Thanks for this useful gem. Here's my suggestion : if the base.rb def self.where(where) method was modified to :

sql = "select #{keys.join(', ')} from #{remote_name} "
if (where.to_s != '')
   sql = sql + "where #{where}"
end

then it would easily allow selecting all the data for an object. I needed this to get all RatePlanChargeTier data.

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