# X_QUERY_COLUMN_UNSELECTED

## Means

a read filters or sorts on a column its rows do not carry

## Typical cause

`from(entity, rows).where({ … })`, `.compare()` or `.orderBy()` names a column the provider's rows lack — a loader that `select`ed `slug` and `updatedAt` and a query filtering on `status`. It answered `[]` in silence until 22.0.0: absent is not "not equal", it is a read the loader never made. A present column holding `null` is a value, and an empty provider judges nothing

## Fix

select the column in the loader — `db.posts.select({ slug: true, status: true, publishedAt: true })` — or drop the filter the loader already applied

[Policy and authz](/error-codes#policy-and-authz)
