It’s not actualy problem. more like i’m curious if its possible to save to related tables/models automatically. Like this:
$post = new Post();
$post->content = 'New post content';
$post->comment->text = 'New comment that belongs to new post';
$post->Save();
instead of
$post = new Post();
$post->content = 'New post content';
if($post->Save()) {
//success
$comment = new Comment();
$comment->post_id = app()->db->getLastInsertID();
$comment->text = 'New comment that belongs to new post';
$comment->save();
}