---
title: SQL Database Data Filtering
labels:
  layer: data
  category: filtering
software:
- sqlite
code:
- https://github.com/open-policy-agent/contrib/tree/master/data_filter_example
blogs:
- https://blog.openpolicyagent.org/write-policy-in-opa-enforce-policy-in-sql-d9d24db93bf4
inventors:
- styra
---
This integration enables the client of a SQL database to enhance a SQL query so that the results obey an OPA-defined policy.
