mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #4074 from rotassator/patch-1
Improve SQL Format information paragraph
This commit is contained in:
commit
7e3c6fd726
@ -431,7 +431,7 @@ Put code into the classes in the following order (where applicable).
|
|||||||
|
|
||||||
### SQL Format
|
### SQL Format
|
||||||
|
|
||||||
If you have to use raw SQL, make sure your code works across databases make sure you escape your queries like below,
|
If you have to use raw SQL, make sure your code works across databases. Make sure you escape your queries like below,
|
||||||
with the column or table name escaped with double quotes and values with single quotes.
|
with the column or table name escaped with double quotes and values with single quotes.
|
||||||
|
|
||||||
:::php
|
:::php
|
||||||
|
Loading…
Reference in New Issue
Block a user