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

fix: query object description #1340

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
}

/**
* Build a Query object.
* A Query object is used to build and execute queries for entities stored in Datastore.
*
* **Queries are built with {module:datastore#createQuery} and
* {@link Transaction#createQuery}.**
* Create a Query object with {@link Datastore#createQuery} or
* {@link Transaction#createQuery}.
*
* @see {@link http://goo.gl/Cag0r6| Datastore Queries}
*
Expand Down Expand Up @@ -616,7 +616,7 @@

export type RunQueryResponse = [Entity[], RunQueryInfo];

export type RunAggregateQueryResponse = any;

Check warning on line 619 in src/query.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type

export interface RunQueryInfo {
endCursor?: string;
Expand All @@ -638,12 +638,12 @@
executionDuration?: google.protobuf.IDuration;
readOperations?: number;
debugStats?: {
[key: string]: any;

Check warning on line 641 in src/query.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
};
}

export interface PlanSummary {
indexesUsed: {
[key: string]: any;

Check warning on line 647 in src/query.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
}[];
}
Loading