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

Bind in human readable way #29

Open
waakobrian opened this issue Apr 1, 2020 · 0 comments
Open

Bind in human readable way #29

waakobrian opened this issue Apr 1, 2020 · 0 comments

Comments

@waakobrian
Copy link

I would suggest you add binding paramters in a more readable way. e.g

$db->bind('par1',  'xyz' );
$db->bind('par2',  'abc' );
$db->query('SELECT *
FROM table1
WHERE table1.a = :par1 AND table1.b = :par2 ');
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