Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: Update and Upsert #1268

Open
2 tasks done
kakalos12 opened this issue Apr 2, 2025 · 0 comments
Open
2 tasks done

Documentation: Update and Upsert #1268

kakalos12 opened this issue Apr 2, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@kakalos12
Copy link

Description

Hi ,
in the docs https://surrealdb.com/docs/surrealql/statements/upsert#improved-performance-via-upsert-and-a-unique-index

It confuses me a little bit that why the UPDATE will scan the table and the UPSERT will not scan the table. I think it will be the same because there is an index. Please help me clarify.

And BTW, there is a mistyping in the code, the index should be "name , the", not "name, member of". Please correct it

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@kakalos12 kakalos12 added the documentation Improvements or additions to documentation label Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant