A Di

  • Registered on: 2013-03-12
  • Last connection: 2013-03-12

Activity

Reported issues: 0

2013-03-12

06:25 PM PHP ActiveRecord Help: How can we filter relatioships in lazy loading mode ?
Hi,
how can we filter relationships in lazy loading mode ?
EX:
$u = User::first();
var_dump($u->posts);
...
06:20 PM PHP ActiveRecord Help: Save / Persist model with relationship
Hi,
wanted to know how to save a model and it's relationships ?
Ex:
$u = User:find(1);
$post = new Post();
...

Also available in: Atom