Files
documentdb/pg_helio_api/src
Ayush Saluja f09abd69e9 Merged PR 1363060: [pgmongo]$replaceAll Bug fix
### Does this PR have any customer impact?

### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
Bugfix
### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)

### Are you introducing any new config? If yes, do you have tests with and without them being set?

### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description

fixing bug for $replaceAll.

When we try to replace this

t.aggregate([{$project: {replacedText: { $replaceAll: { input: "foo bar", find: "o", replacement: "O" } }}}])
{ "_id" : ObjectId("6654594ae0e0158ce47550f6"), "replacedText" : "fOobar" }

Output should be
{ "_id" : ObjectId("6654594ae0e0158ce47550f6"), "replacedText" : "fOObar" }

Related work items: #3220469
2024-06-03 13:12:17 +03:00
..
2024-05-13 13:23:03 +03:00