Small modification by allowing array to be passed to DatabaseInterface

Signed-off-by: crynobone <crynobone@gmail.com>