Skip to content

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

@mrsoto

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions