Support metadata selections when using SQLite