class FDB::Database

def get_and_watch(key)

def get_and_watch(key)
  transact do |tr|
    value = tr.get(key)
    watch = tr.watch(key)
    [value.value, watch]
  end
end