summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJohaine <32821455+Johaine@users.noreply.github.com>2023-02-25 22:48:11 +0100
committerGitHub <noreply@github.com>2023-02-25 22:48:11 +0100
commit012645aa9e2d480882ddedfc12c42beaf419cfe8 (patch)
treec5013bf75e7ce02244768e68b266613727d2d8c2 /docs
parent5fad0027400b66e72010567098cae4d011eda9c0 (diff)
downloadwiki-012645aa9e2d480882ddedfc12c42beaf419cfe8.tar.gz
wiki-012645aa9e2d480882ddedfc12c42beaf419cfe8.tar.bz2
wiki-012645aa9e2d480882ddedfc12c42beaf419cfe8.zip
Explicitly exclude database name in queries (#875)
Was noted in https://github.com/azerothcore/azerothcore-wotlk/pull/15201 Some people might not use the standard database names
Diffstat (limited to 'docs')
-rw-r--r--docs/sql-standards.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/sql-standards.md b/docs/sql-standards.md
index 23823c5..388a17e 100644
--- a/docs/sql-standards.md
+++ b/docs/sql-standards.md
@@ -13,6 +13,8 @@ We always use backticks \` around table- and column names. \`creature_loot_templ
We always use single quotes around string values ' ' but NEVER around an integer.
+We never include the database name in queries.
+
### INSERT & DELETE
We always DELETE before an INSERT to ensure we always put fields in the query and that no errors occur.