Skip to content

Instantly share code, notes, and snippets.

@OMGZui
Created June 21, 2022 14:21
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 OMGZui/85f46947c0a89db5ff9a0071a44d2e7b to your computer and use it in GitHub Desktop.
Save OMGZui/85f46947c0a89db5ff9a0071a44d2e7b to your computer and use it in GitHub Desktop.
UPDATE doc SET position = position + 1 WHERE position >= #{newPosition}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment