core: Add @_listinfo decorator to database helper