This should allow to use indexed data for the database::insert method - more flexible for certain kind of integration

Signed-off-by: emanuele <emanuele45@gmail.com>
Have indexed parameters is much easier for integration (converted to index the create_post and create_topic queries

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #1773 from emanuele45/query_n_hooks

Query n hooks