# X_DRIVER_ROW_OUT_OF_SCOPE

## Means

a custom driver returned a row outside the plan it was given

## Typical cause

the raw repo's select() ignored a predicate the framework scoped the read with — another tenant's row, a soft-deleted row, or another key — and the kit refused it before the caller saw it

## Fix

`evaluate every plan.where predicate in the driver's select(): selectRows(entity, rows, read) from @ultimat3/entity/adapter does it for an in-process store`

[Entity and database](/error-codes#entity-and-database)
