Skip to content

database: upsertRepoPendingPermissionsBatchQuery => single-row upsertRepoPendingPermissionsQuery

Warren Gifford requested to merge database/repo-pending-single into main

Created by: bobheadxi

This is currently only used to update a single entry anyways - merge this into the existing upsertRepoPermissionsQuery, which now accepts an updateSyncedAt bool. rename to upsertRepoPendingPermissionsQuery and only allow a single argument.

(I realized that the two are very different queries)

Part https://github.com/sourcegraph/sourcegraph/issues/24851 - trying to find queries at risk of hitting parameter limits.

Merge request reports

Loading