added insert method for arrays, COUNT, async delete
handle null in where condition, async delete