Skip to content

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

Description

@mrsoto

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions