use DB_FETCHMODE_ASSOC as default in getAll