Skip to content

Instantly share code, notes, and snippets.

@dminkovsky
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dminkovsky/b637ec35044e88fcce88 to your computer and use it in GitHub Desktop.
Save dminkovsky/b637ec35044e88fcce88 to your computer and use it in GitHub Desktop.
r.table('junk').update({
myArray: []
})
// Doesn't this re-write doc.myArray with the result of r.row('myArray').append()?
// If so, and if doc.myArray is long, would this be slow? Or consume lots of RAM, at least.
r.table('junk').update({
myArray: r.row('myArray').append('something')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment