Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Include updated_at and created_at with results() #67

Description

@chriship

Is it possible to retreive the created_at and updated_at timestamps with the results call?

At the moment I have a relationship between 2 models and am retrieving them like so:

$project = $projectsDb->get($id);   
$prices = $pricesDb->where('project_id','=',$id)->results();
$project->prices = $prices;

But doing it like this means that $project->prices does not have the timestamps.

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