Skip to content

Commit

Permalink
fixed wrong tableName -> from renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Jan 27, 2017
1 parent e80a08d commit 193dda0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static function instantiate($action, $from, array $options = [])
{
$query = new static();

return $query->action($action)->tableName($from)->options($options);
return $query->action($action)->from($from)->options($options);
}

/**
Expand Down

0 comments on commit 193dda0

Please sign in to comment.