@@ -28,7 +28,7 @@ function rollback(client, done) {
28
28
29
29
// Persists an op and snapshot if it is for the next version. Calls back with
30
30
// callback(err, succeeded)
31
- PostgresDB . prototype . commit = function ( collection , id , op , snapshot , callback ) {
31
+ PostgresDB . prototype . commit = function ( collection , id , op , snapshot , options , callback ) {
32
32
/*
33
33
* op: CreateOp {
34
34
* src: '24545654654646',
@@ -122,7 +122,7 @@ PostgresDB.prototype.commit = function(collection, id, op, snapshot, callback) {
122
122
// Get the named document from the database. The callback is called with (err,
123
123
// snapshot). A snapshot with a version of zero is returned if the docuemnt
124
124
// has never been created in the database.
125
- PostgresDB . prototype . getSnapshot = function ( collection , id , fields , callback ) {
125
+ PostgresDB . prototype . getSnapshot = function ( collection , id , fields , options , callback ) {
126
126
pg . connect ( this . pg_config , function ( err , client , done ) {
127
127
if ( err ) {
128
128
done ( client ) ;
@@ -172,7 +172,7 @@ PostgresDB.prototype.getSnapshot = function(collection, id, fields, callback) {
172
172
// The version will be inferred from the parameters if it is missing.
173
173
//
174
174
// Callback should be called as callback(error, [list of ops]);
175
- PostgresDB . prototype . getOps = function ( collection , id , from , to , callback ) {
175
+ PostgresDB . prototype . getOps = function ( collection , id , from , to , options , callback ) {
176
176
pg . connect ( this . pg_config , function ( err , client , done ) {
177
177
if ( err ) {
178
178
done ( client ) ;
0 commit comments