GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(doc): Fix param descriptions for filters (#1346) · googleapis/nodejs-datastore@a18c169

This repository was archived by the owner on Feb 20, 2026. It is now read-only.

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • filter.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/filter.ts‎

Copy file name to clipboardExpand all lines: src/filter.ts
+12-4Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,26 @@ enum CompositeOperator {
3434
}
3535

3636
/**
37-
* Returns an AND composite filter.
37+
* And filters are composed of many other filters and when they are applied
38+
* then query results are only returned when they pass through all these other
39+
* filters.
40+
*
41+
* @param {EntityFilter[]} filters The list of filters that make up the AND filter.
42+
* @returns {CompositeFilter} A composite AND filter.
3843
*
39-
* @param {EntityFilter[]} filters The filters that make up the AND filter.
4044
*/
4145
export function and(filters: EntityFilter[]): CompositeFilter {
4246
return new CompositeFilter(filters, CompositeOperator.AND);
4347
}
4448

4549
/**
46-
* Returns an OR composite filter.
50+
* Or filters are composed of many other filters and when they are applied
51+
* then query results are returned when they pass through any of these other
52+
* filters.
53+
*
54+
* @param {EntityFilter[]} filters The list of filters that make up the OR filter.
55+
* @returns {CompositeFilter} A composite OR filter.
4756
*
48-
* @param {EntityFilter[]} filters The filters that make up the OR filter.
4957
*/
5058
export function or(filters: EntityFilter[]): CompositeFilter {
5159
return new CompositeFilter(filters, CompositeOperator.OR);

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.