We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Found bug in Phalcon API (https://github.com/phalcon/phalcon-api/blob/master/library/Traits/QueryTrait.php#L89)
$builder = new Phalcon\Mvc\Model\Query\Builder(); $builder->addFrom(Users::class);
Which generates incorrect query
SELECT [].* FROM [Niden\Models\Users] AS [] WHERE ((username = :username:) AND (password = :password:)) AND (status = :status:)
It works correctly if specify second parameter of addForm() method.
addForm()
$builder = new Phalcon\Mvc\Model\Query\Builder(); $builder->addFrom(Users::class, 'table1');
The text was updated successfully, but these errors were encountered:
#21 - Fix query builder (see: phalcon/cphalcon#14366)
56d258f
Fixed in the 4.0.x branch. Feel free to open a new issue if the problem appears again. Thank you for the bug report.
4.0.x
Sorry, something went wrong.
No branches or pull requests
Found bug in Phalcon API (https://github.com/phalcon/phalcon-api/blob/master/library/Traits/QueryTrait.php#L89)
Which generates incorrect query
It works correctly if specify second parameter of
addForm()
method.Details
The text was updated successfully, but these errors were encountered: