Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL query, what's `SELECT * FROM !.tables WHERE id = !`

Tags:

sql

php

mysql

I never seen SQL like that before:

SELECT *
  FROM !.tables
 WHERE id = !

What's it doing?

like image 291
Asim Zaidi Avatar asked Oct 15 '22 05:10

Asim Zaidi


1 Answers

It looks like a parametrized query, however I've never seen exclamation points being used as placeholders. What library is the query being run through?

like image 97
Matti Virkkunen Avatar answered Nov 03 '22 23:11

Matti Virkkunen