(ctx context.Context, workspaceId string)
| 410 | } |
| 411 | |
| 412 | func DBFindWindowForWorkspaceId(ctx context.Context, workspaceId string) (string, error) { |
| 413 | return WithTxRtn(ctx, func(tx *TxWrap) (string, error) { |
| 414 | query := ` |
| 415 | SELECT w.oid |
| 416 | FROM db_window w WHERE json_extract(data, '$.workspaceid') = ?` |
| 417 | return tx.GetString(query, workspaceId), nil |
| 418 | }) |
| 419 | } |
no test coverage detected