mantisbt:executing_db_queries
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
mantisbt:executing_db_queries [2016/05/15 07:01] – created dregad | mantisbt:executing_db_queries [2020/05/13 12:28] (current) – [References] replace old ~~Mantis:xxx~~ reference with Interwiki syntax dregad | ||
---|---|---|---|
Line 2: | Line 2: | ||
MantisBT relies on [[http:// | MantisBT relies on [[http:// | ||
+ | |||
+ | Whenever coding new APIs or modifying existing ones **Developers must be careful to always call '' | ||
+ | |||
===== Design flaw ===== | ===== Design flaw ===== | ||
Line 49: | Line 52: | ||
- '' | - '' | ||
- | All MantisBT core APIs have been modified to use the new functions, making them safe to be called from anywhere. Whenever coding new APIs or modifying existing ones **Developers must be careful to always call '' | + | All MantisBT core APIs have been modified to use the new functions, making them safe to be called from anywhere. |
Fixing the above example: | Fixing the above example: | ||
Line 80: | Line 83: | ||
SELECT * FROM {project} WHERE id = $1 | SELECT * FROM {project} WHERE id = $1 | ||
</ | </ | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | * Issue [[Mantis> | ||
+ | * https:// | ||
+ | * https:// | ||
mantisbt/executing_db_queries.1463310092.txt.gz · Last modified: 2016/05/15 07:01 by dregad