High Range, Australia 
!Hubzilla Development

Developers: If you use the dbg(1) statement on occasion to provide SQL debugging, the usage will be changing slightly going forward.

0: debugging off
1. basic query debugging (basic result and full text of query)
2. verbose debugging including all returned data