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

Make selector variable. #84

Open
Tjoosten opened this issue Apr 7, 2018 · 0 comments
Open

Make selector variable. #84

Tjoosten opened this issue Apr 7, 2018 · 0 comments

Comments

@Tjoosten
Copy link
Collaborator

Tjoosten commented Apr 7, 2018

For now the selector in the where statement is hardcoded. This is a bad practice.
This should by coded with a variable. That defaults to =

public function findBy($attribute, $value, $columns = ['*'])

public function findAllBy($attribute, $value, $columns = ['*'])

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