Updated docs for oxmysql

This commit is contained in:
userMacieG committed 2022-03-22 17:46:46 +01:00
1 parent b174c89d66
commit 81223ffd47
6 files changed
+60 -19

No files matched your search

@@ -0,0 +1,11 @@
# Placeholders
This allows queries to be properly prepared and escaped; the following lines are equivalent.
```
"SELECT group FROM users WHERE identifier = ?", {identifier}
"SELECT group FROM users WHERE identifier = :identifier", {identifier = identifier}
"SELECT group FROM users WHERE identifier = @identifier", {['@identifier'] = identifier}
```
Named placeholders are deprecated and should be avoided as much as possible.