Non blocking lock. Returns true if the lock was acquired, false otherwise. This must be called from within a transaction. The lock will be automatically released when the transaction ends.
(ctx context.Context, pgTryAdvisoryXactLock int64)
| 1164 | // This must be called from within a transaction. The lock will be automatically |
| 1165 | // released when the transaction ends. |
| 1166 | TryAcquireLock(ctx context.Context, pgTryAdvisoryXactLock int64) (bool, error) |
| 1167 | // Unarchives a chat (and its children). Stale file references are |
| 1168 | // handled automatically by FK cascades on chat_file_links: when |
| 1169 | // dbpurge deletes a chat_files row, the corresponding |
no outgoing calls