(ctx context.Context, id uuid.UUID)
| 133 | ` |
| 134 | |
| 135 | func (q *sqlQuerier) GetAIProviderKeyByID(ctx context.Context, id uuid.UUID) (AIProviderKey, error) { |
| 136 | row := q.db.QueryRowContext(ctx, getAIProviderKeyByID, id) |
| 137 | var i AIProviderKey |
| 138 | err := row.Scan( |
| 139 | &i.ID, |
| 140 | &i.ProviderID, |
| 141 | &i.APIKey, |
| 142 | &i.ApiKeyKeyID, |
| 143 | &i.CreatedAt, |
| 144 | &i.UpdatedAt, |
| 145 | ) |
| 146 | return i, err |
| 147 | } |
| 148 | |
| 149 | const getAIProviderKeyPresence = `-- name: GetAIProviderKeyPresence :many |
| 150 | SELECT DISTINCT |
nothing calls this directly
no test coverage detected