database plugin queries support in constructor (untested)