Skip to content

Conversation

@Danielle9897
Copy link
Member

@Danielle9897 Danielle9897 commented Jan 7, 2026

@Danielle9897 Danielle9897 requested a review from Lwiel January 7, 2026 21:46
* **If your script calls a method that requires one of these contexts**, you can use the corresponding variable.
They are created for you and disposed automatically after the script runs.

* Each context must be opened using `OpenReadTransaction()` or with `OpenWriteTransaction()` before it is used.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Each context must be opened using `OpenReadTransaction()` or with `OpenWriteTransaction()` before it is used.
* A transaction must be opened using `OpenReadTransaction()` or `OpenWriteTransaction()` method before the context is used.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done
=>
Before using a context,
you must open a transaction on it using OpenReadTransaction() or OpenWriteTransaction().

@Danielle9897 Danielle9897 requested a review from Lwiel January 8, 2026 11:42
@ppekrol ppekrol merged commit 0570c99 into ravendb:main Jan 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants