We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The read only transaction error says SELECT, but it seems it should say INSERT.
SELECT
INSERT
Steps to Reproduce:
opts := gelcfg.NewTxOptions().WithReadOnly(true) configured := client.WithTxOptions(opts) err := configured.Tx(ctx, func(ctx context.Context, tx geltypes.Tx) error { return tx.Execute(ctx, "INSERT User") }) fmt.Println(err) // Output: // gel.TransactionError: cannot execute SELECT in a read-only transaction
Schema:
START MIGRATION TO { module default { global used_everywhere: int64; type User {} } }; POPULATE MIGRATION; COMMIT MIGRATION;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The read only transaction error says
SELECT
, but it seems it should sayINSERT
.Steps to Reproduce:
Schema:
The text was updated successfully, but these errors were encountered: