(ctx context.Context, arg database.CountAIBridgeInterceptionsParams)
| 1797 | } |
| 1798 | |
| 1799 | func (q *querier) CountAIBridgeInterceptions(ctx context.Context, arg database.CountAIBridgeInterceptionsParams) (int64, error) { |
| 1800 | prep, err := prepareSQLFilter(ctx, q.auth, policy.ActionRead, rbac.ResourceAibridgeInterception.Type) |
| 1801 | if err != nil { |
| 1802 | return 0, xerrors.Errorf("(dev error) prepare sql filter: %w", err) |
| 1803 | } |
| 1804 | return q.db.CountAuthorizedAIBridgeInterceptions(ctx, arg, prep) |
| 1805 | } |
| 1806 | |
| 1807 | func (q *querier) CountAIBridgeSessions(ctx context.Context, arg database.CountAIBridgeSessionsParams) (int64, error) { |
| 1808 | prep, err := prepareSQLFilter(ctx, q.auth, policy.ActionRead, rbac.ResourceAibridgeInterception.Type) |
nothing calls this directly
no test coverage detected