         # TODO: This will only return the latest 1 MB of results, so if there
         # are more keys additional requests must be made.
         snapshots_ro_queue.push((c) ->
-          db.query(request, c)
+          db.Query(request, c)
         , 'query Snapshots('+docName+')', cb)
 
       list_operations: (cb) ->

      ]

      meta: ['compressor', (cb, results) ->
        results.compressor.text.decode(results.get_snapshot.Items[0].meta.S, cb)
      ]
    (error, results) ->
      if error?
        if error == 'Document does not exist'
          callback?(error)
        else if results? and results.get_snapshot?
          item = results.get_snapshot.Items[0]
          console.error('Failed to get snapshot data for Document('+item.doc.S+'-'+item.v.N+'): '+util.inspect(error))
          callback?('Failed to get snapshot data')
        else
          console.error('Failed to get snapshot metadata for Document('+docName+'): '+util.inspect(error))
          callback?('Failed to get snapshot metadata')
      else
        item = results.get_snapshot.Items[0]

        try
          snapshot = JSON.parse(results.snapshot)

        request.Item['c'] = { S: 't' } if options['compress']

        snapshots_rw_queue.push((c) ->
          db.PutItem(request, c)
        , 'write Snapshot('+docName+'-'+docData.v+')', cb)
      ]

