(ctx context.Context, arg ListAIBridgeClientsParams)
| 1576 | } |
| 1577 | |
| 1578 | func (q *sqlQuerier) ListAIBridgeClients(ctx context.Context, arg ListAIBridgeClientsParams) ([]string, error) { |
| 1579 | rows, err := q.db.QueryContext(ctx, listAIBridgeClients, arg.Client, arg.Offset, arg.Limit) |
| 1580 | if err != nil { |
| 1581 | return nil, err |
| 1582 | } |
| 1583 | defer rows.Close() |
| 1584 | var items []string |
| 1585 | for rows.Next() { |
| 1586 | var client string |
| 1587 | if err := rows.Scan(&client); err != nil { |
| 1588 | return nil, err |
| 1589 | } |
| 1590 | items = append(items, client) |
| 1591 | } |
| 1592 | if err := rows.Close(); err != nil { |
| 1593 | return nil, err |
| 1594 | } |
| 1595 | if err := rows.Err(); err != nil { |
| 1596 | return nil, err |
| 1597 | } |
| 1598 | return items, nil |
| 1599 | } |
| 1600 | |
| 1601 | const listAIBridgeInterceptions = `-- name: ListAIBridgeInterceptions :many |
| 1602 | SELECT |
nothing calls this directly
no test coverage detected