AuthorizeFilter is a compiled partial query that can be converted to SQL. This allows enforcing the policy on the database side in a WHERE clause.
| 685 | // AuthorizeFilter is a compiled partial query that can be converted to SQL. |
| 686 | // This allows enforcing the policy on the database side in a WHERE clause. |
| 687 | type AuthorizeFilter interface { |
| 688 | SQLString() string |
| 689 | } |
| 690 | |
| 691 | type authorizedSQLFilter struct { |
| 692 | sqlString string |
no outgoing calls
no test coverage detected