Skip to content

runQuery doesn't run inside transaction #905

@pcostell

Description

@pcostell

Sorry if this isn't right, I only noticed it through inspection.

It looks like Transaction extends from DatastoreRequest, which means it gets a runQuery method. However, it doesn't look like it overrides it. This means a user who thinks they are running a query in the transaction is actually going to get inconsistent results.

Metadata

Metadata

Labels

api: datastoreIssues related to the Datastore API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions