Use meta API instead of SQLite specific stuff