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

how to add Views counter ? #13

Open
GeneralMB opened this issue Sep 8, 2019 · 1 comment
Open

how to add Views counter ? #13

GeneralMB opened this issue Sep 8, 2019 · 1 comment

Comments

@GeneralMB
Copy link

hello thanks for class but i want add Views counter
db->update('users',['last_id' => last_id+1])->where([['id_user','=',$id_user]])->exec();

@tranetsys
Copy link

In WHERE clause, as its written in readme, you should use only comma.
where('id_user',$id_user)

Sorry for late answer.

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

2 participants