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

Is there a way to select columns without Sql:: and database views? #82

Open
mrsoto opened this issue Oct 25, 2015 · 0 comments
Open

Is there a way to select columns without Sql:: and database views? #82

mrsoto opened this issue Oct 25, 2015 · 0 comments

Comments

@mrsoto
Copy link

mrsoto commented Oct 25, 2015

Hello,
Each time I need to reduce overhead related to too many unneeded columns I've to create a database view and fetch from this view. The question is: is there a way to set output columns?

I tried this ( from issue #24):

    $mapper->bill_notice_list = c\Filtered::by('description', 'next_notification_date')->bill_notice();
    $billNotices = $mapper->bill_notice_list(
        array('usercustomer_id' => $usercustomerId)
    )->fetchAll();

but no data retrieved.

@mrsoto mrsoto changed the title Is there a way to select columns without Sql:: and database views Is there a way to select columns without Sql:: and database views? Oct 28, 2015
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