DBAPI for items plugin