Database independent code
Posted June 10th, 2007 by douggreen
in
5.x-2.x-dev, Code, feature, normal, active
Based on How to write database independent code:
1) Suggest db_query_range when a LIMIT is specified.
2) You might already do this, but suggest NULL instead of ''.
3) Check for table names in braces - one of mine slipped through with back ticks on it.