"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "waitForPendingEditsUsingSyncTick", {
    enumerable: true,
    get: function() {
        return waitForPendingEditsUsingSyncTick;
    }
});
const waitForPendingEditsUsingSyncTick = async (sequelize, syncTick)=>sequelize.query(`
      SELECT pg_advisory_xact_lock(:syncTick);
    `, {
        replacements: {
            syncTick
        }
    });

//# sourceMappingURL=waitForPendingEditsUsingSyncTick.js.map