Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
d0ff2c9
Separate pipelines API into a subpackages
MarkDuckworth Apr 24, 2025
6416ce7
Finish refactoring Pipelines to namespace of the main module export. …
MarkDuckworth May 28, 2025
a6c6045
Updated samples and added placeholder in readme partials, for pipelines
MarkDuckworth May 28, 2025
b2529e5
Update signatures of add and multiply to take exactly 2 args
MarkDuckworth May 28, 2025
468207e
PipelineOptions for execute
MarkDuckworth Jun 2, 2025
77ba06a
Every stage accepts a StageOptions object
MarkDuckworth Jun 9, 2025
a47e57f
Implement and test stage options
MarkDuckworth Jun 12, 2025
e157283
Preview protos
MarkDuckworth Jun 12, 2025
fa62225
Merge branch 'markduckworth/pipelines-proto-update' of github.com:goo…
MarkDuckworth Jun 12, 2025
520de0e
Merge branch 'main' of github.com:googleapis/nodejs-firestore into ma…
MarkDuckworth Jun 13, 2025
495047a
Update.sh script fixes
MarkDuckworth Jun 13, 2025
01e655b
Update google-gax dependency to v5
MarkDuckworth Jun 13, 2025
c9b2cf0
Fixed preview protos
MarkDuckworth Jun 13, 2025
a6694d5
Merge branch 'markduckworth/pipelines-proto-update' of github.com:goo…
MarkDuckworth Jun 13, 2025
b257b2c
Fixes for google-gax major version update
MarkDuckworth Jun 13, 2025
7a92e14
Code formatting
MarkDuckworth Jun 25, 2025
d303183
Implement explain result parsing and tests.
MarkDuckworth Jul 1, 2025
80b48e8
Merge branch 'feat/pipelines' of github.com:googleapis/nodejs-firesto…
MarkDuckworth Jul 1, 2025
c58c234
Merge branch 'markduckworth/pipelines-subpackage' into markduckworth/…
MarkDuckworth Jul 1, 2025
8a19d72
Replaced rawValue(): unknown with rawData(): IAny
MarkDuckworth Jul 2, 2025
801f73f
Test error propagation for pipelines.
MarkDuckworth Jul 11, 2025
96e9121
Test that explain stats are accessible in an error case.
MarkDuckworth Jul 11, 2025
40febb1
Rename array_offset to array_get
MarkDuckworth Jul 14, 2025
777a844
Remove bit* functions. These are not included in the upcoming release.
MarkDuckworth Jul 14, 2025
5d1f81c
Remove replaceAll and replaceFirst
MarkDuckworth Jul 14, 2025
6baf1f3
Rename substr to substring
MarkDuckworth Jul 14, 2025
89cbe8a
Add arrayReverse expression
MarkDuckworth Jul 14, 2025
ce6296b
add expression 'ceil'
MarkDuckworth Jul 14, 2025
21b67c5
Implement expression
MarkDuckworth Jul 16, 2025
259fc80
Adding expression 'exp'
MarkDuckworth Jul 16, 2025
c8742be
Add floor expression
MarkDuckworth Jul 16, 2025
4bbbb07
Add todos for new-expression
MarkDuckworth Jul 17, 2025
a998398
Implement expression pow
MarkDuckworth Jul 17, 2025
8f1a199
Add expression 'round'
MarkDuckworth Jul 17, 2025
370f9da
collectionId expression
MarkDuckworth Jul 18, 2025
7358780
fix length expression tests and exports
MarkDuckworth Jul 18, 2025
35babde
ln, log, sqrt expressions
MarkDuckworth Jul 18, 2025
fe58924
feat: Add strReverse expression (#2394)
MarkDuckworth Jul 21, 2025
3c6559a
Fix reference parsing
MarkDuckworth Jul 22, 2025
850e485
Markduckworth/better reference value handling (#2395)
MarkDuckworth Jul 30, 2025
3fcd99d
Merge branch 'markduckworth/pipelines-new-expressions' of github.com:…
MarkDuckworth Jul 30, 2025
24cc92d
Merge branch 'feat/pipelines' of github.com:googleapis/nodejs-firesto…
MarkDuckworth Jul 30, 2025
2347f81
Test cleanup
MarkDuckworth Jul 30, 2025
e1389f7
Merge branch 'feat/pipelines' of github.com:googleapis/nodejs-firesto…
MarkDuckworth Jul 31, 2025
2e6c64f
Fix linter errors
MarkDuckworth Jul 31, 2025
2eea5f3
Fix eslint config and resolve remaining eslint errors
MarkDuckworth Jul 31, 2025
e5c328c
Renamed XWithAlias to AliasedX
MarkDuckworth Aug 8, 2025
8b636ef
API cleanup
MarkDuckworth Aug 8, 2025
9166213
rename generic to raw
MarkDuckworth Aug 8, 2025
9ad164e
API review - PipelineResult.data() should never return undefined
MarkDuckworth Aug 8, 2025
a69bee4
customOptions to rawOptions
MarkDuckworth Aug 8, 2025
8be4a73
custom to raw options
MarkDuckworth Aug 8, 2025
90b6ca9
code cleanup
MarkDuckworth Aug 8, 2025
b8316fa
Fixes on reaname
MarkDuckworth Aug 8, 2025
35d3543
API review fixes: PipelineExecuteOptions
MarkDuckworth Aug 8, 2025
b72f68d
API review: PipelineResult
MarkDuckworth Aug 8, 2025
9454e42
Rename args to divide as dividend and divisor
MarkDuckworth Aug 8, 2025
2bdc4f8
Rename params to subtract
MarkDuckworth Aug 8, 2025
4a1a9a7
API audit
MarkDuckworth Aug 11, 2025
41d5a1c
Remove @beta tag
MarkDuckworth Aug 12, 2025
b39594b
Doc review start
MarkDuckworth Aug 13, 2025
7a153cb
enable all tests
MarkDuckworth Aug 13, 2025
4d6b1f2
TSDoc todos
MarkDuckworth Aug 14, 2025
25a9d68
Script/simple agent for updating tsdoc
MarkDuckworth Aug 14, 2025
2fffe0d
Pipeline stream tests
MarkDuckworth Aug 14, 2025
a4ca55d
Renamed BooleanExpr to BooleanExpression
MarkDuckworth Oct 20, 2025
ffa51af
Renamed Expr to Expression
MarkDuckworth Oct 20, 2025
d177b1a
Renamed eq to equal
MarkDuckworth Oct 20, 2025
6a1239a
Renamed eqAny to equalAny
MarkDuckworth Oct 20, 2025
811bb8b
Renamed BooleanExpr to BooleanExpression
MarkDuckworth Oct 20, 2025
babcd12
Renamed gt to greaterThan
MarkDuckworth Oct 20, 2025
cdb4209
Renamed gte to greaterThanOrEqual
MarkDuckworth Oct 20, 2025
95628ab
Renamed lt to lessThan
MarkDuckworth Oct 20, 2025
9237ec6
Renamed lte to lessThanOrEqual
MarkDuckworth Oct 20, 2025
190d4ba
Renamed neq to notEqual
MarkDuckworth Oct 20, 2025
a2b4723
Renamed notEqAny to notEqualAny
MarkDuckworth Oct 20, 2025
f7d081c
Renamed strConcat to stringConcat
MarkDuckworth Oct 20, 2025
7ca3664
Renamed strContains to stringContains
MarkDuckworth Oct 20, 2025
7a778e6
Renamed strReverse to stringReverse
MarkDuckworth Oct 20, 2025
f62c37a
Renamed AliasedExpr to AliasedExpression
MarkDuckworth Oct 20, 2025
786cfd3
Renamed FunctionExpr to FunctionExpression
MarkDuckworth Oct 20, 2025
00705b2
Renamed cond to conditional
MarkDuckworth Oct 20, 2025
5fcd542
rename avg to average
MarkDuckworth Oct 20, 2025
2191949
Make AliasedAggregate properties internal
MarkDuckworth Oct 20, 2025
fb95ae1
Make Constant class internal
MarkDuckworth Oct 20, 2025
8318720
Implement constant(x): BooleanExpression
MarkDuckworth Oct 20, 2025
bee3625
Renamed timestampSub to timestampSubtract
MarkDuckworth Oct 20, 2025
9c47bdc
Renamed exprType to expressionType
MarkDuckworth Oct 20, 2025
0401143
Renamed ExprType to ExpressionType
MarkDuckworth Oct 20, 2025
04e9464
remove rand expression
MarkDuckworth Oct 20, 2025
aafd3f3
remove log expression
MarkDuckworth Oct 20, 2025
1fe1389
Make alias and expr internal on Selectables
MarkDuckworth Oct 20, 2025
28e5fed
remove execution time from PipelineResult
MarkDuckworth Oct 20, 2025
1f87bf1
make internal properties
MarkDuckworth Oct 20, 2025
5a702c4
general cleanup and refactoring
MarkDuckworth Sep 10, 2025
f602ff6
Expand PipelineSource.createFrom to support vector query
MarkDuckworth Sep 10, 2025
0f76a92
Add @beta tag
MarkDuckworth Oct 21, 2025
81d98cd
format
MarkDuckworth Oct 21, 2025
7fdd751
Merge branch 'feat/pipelines' of github.com:googleapis/nodejs-firesto…
MarkDuckworth Oct 21, 2025
ef65a87
new expressions
MarkDuckworth Oct 22, 2025
43a5497
add beta tag
MarkDuckworth Oct 22, 2025
ebd1942
Add arrayConcat
MarkDuckworth Oct 23, 2025
beef74f
add round and ifError overloads
MarkDuckworth Oct 23, 2025
9b002d4
add documentId overload
MarkDuckworth Oct 23, 2025
eee2042
fixing tests. replaced 'json' format with 'mongo'
MarkDuckworth Oct 23, 2025
009553b
Update Query to Pipeline implementation to handle changes in backend …
MarkDuckworth Oct 23, 2025
e493104
update the implementation of Query to Pipeline to use equal and notEq…
MarkDuckworth Oct 23, 2025
39975cc
Delete renames.csv
MarkDuckworth Oct 23, 2025
d621a3d
Delete scripts/extract-tsdoc.py
MarkDuckworth Oct 23, 2025
c80e006
Delete bulk-rename.sh
MarkDuckworth Oct 23, 2025
1c07fed
Delete .idea/vcs.xml
MarkDuckworth Oct 23, 2025
761b923
revert a handful of unintentional renames and check ins
MarkDuckworth Oct 23, 2025
20eabd1
Merge branch 'markduckworth/pipelines-api-review' of github.com:googl…
MarkDuckworth Oct 23, 2025
4c27f06
Delete .idea/workspace.xml
MarkDuckworth Oct 23, 2025
6bdfa84
revert a handful of unintentional renames and check ins
MarkDuckworth Oct 23, 2025
4df9638
Comment update 'json' to 'mongo'
MarkDuckworth Oct 23, 2025
d298919
Merge branch 'markduckworth/pipelines-api-review' of github.com:googl…
MarkDuckworth Oct 23, 2025
7d1794d
Remove custom code for nan and null checks in the query to pipeline i…
MarkDuckworth Oct 24, 2025
23c452f
Remove isNull, isNotNull, isNan, isNotNan, error expressions
MarkDuckworth Oct 27, 2025
2e12b47
Implement check for duplicate aliases where multiple selectables are …
MarkDuckworth Oct 27, 2025
557d71d
Address PR feedback: update comment for reverse expression and remove…
MarkDuckworth Oct 29, 2025
d67ccfb
Add missing beta tags for pipelines APIs
MarkDuckworth Oct 29, 2025
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
3,509 changes: 2,102 additions & 1,407 deletions dev/src/pipelines/expression.ts

Large diffs are not rendered by default.

50 changes: 26 additions & 24 deletions dev/src/pipelines/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,46 +24,45 @@ export {
arrayContains,
arrayContainsAny,
arrayReverse,
avg,
eq,
average,
equal,
ceil,
exp,
floor,
gt,
greaterThan,
like,
lt,
neq,
lessThan,
notEqual,
ascending,
not,
or,
regexContains,
regexMatch,
startsWith,
strConcat,
stringConcat,
subtract,
cosineDistance,
countDistinct,
dotProduct,
euclideanDistance,
mapGet,
lte,
eqAny,
lessThanOrEqual,
equalAny,
map,
array,
field,
xor,
AggregateFunction,
rand,
arrayGet,
add,
BooleanExpr,
Expr,
FunctionExpr,
BooleanExpression,
Expression,
FunctionExpression,
minimum,
count,
countIf,
arrayLength,
strContains,
stringContains,
charLength,
divide,
mod,
Expand All @@ -72,39 +71,35 @@ export {
toUpper,
toLower,
vectorLength,
isNotNan,
exists,
isNotNull,
isAbsent,
ifError,
isError,
isNan,
substring,
documentId,
isNull,
arrayContainsAll,
constant,
Field,
Constant,
sum,
maximum,
descending,
gte,
greaterThanOrEqual,
multiply,
cond,
conditional,
Ordering,
AliasedAggregate,
endsWith,
AliasedExpr,
AliasedExpression,
mapMerge,
mapRemove,
byteLength,
logicalMaximum,
logicalMinimum,
notEqAny,
notEqualAny,
countAll,
timestampAdd,
timestampSub,
timestampSubtract,
timestampToUnixMicros,
timestampToUnixSeconds,
unixMicrosToTimestamp,
Expand All @@ -115,9 +110,16 @@ export {
collectionId,
length,
ln,
log,
round,
sqrt,
strReverse,
stringReverse,
abs,
arraySum,
ifAbsent,
log10,
concat,
join,
currentTimestamp,
arrayConcat,
// TODO(new-expression): Add new expression exports above this line
} from './expression';
Loading
Loading