smd_query
Allows custom, ad-hoc queries to be made to the database and each row parsed by a form.
Talk to the database directly via SQL. Plug a query in and use a form or container to iterate over the returned rows. Supports article, file and link mode processing.

