Skip to content
New issue

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

Error on Where #5

Open
hugo-leij opened this issue Nov 7, 2022 · 0 comments
Open

Error on Where #5

hugo-leij opened this issue Nov 7, 2022 · 0 comments

Comments

@hugo-leij
Copy link

hugo-leij commented Nov 7, 2022

Hi,

I like to use your querybuilder, but i get a error

use Embryo\PDO\QueryBuilder\QueryBuilder;

$user = $pdo->table('users')
    ->select('name, surname')
    ->where('id', 1)
    ->get();

echo "Hi, i am $user->name $user->surname";

Error:

Fatal error: Uncaught Error: Call to undefined method Embryo\PDO\QueryBuilder\Query::where() in 

Get statement is working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant