Felipe Coury

Results 22 issues of Felipe Coury

Hey there! I am starting off a new open source effort (MIT license) to write an Electron app that would allow configuring the Anne Pro keyboard on basically any OS....

# Introduction As the result of a personal exercise for the past week and a half, this PR offers an early implementation of the Aggregate Pipeline. The reason the PR...

Most of the command is supported, but this is one of the options missing.

enhancement

Operations like `$multiply` are confined to the stage it's coded on (`$group` in this case). We should extract all operations and allow them to be called from many different places,...

enhancement
refactor

- [x] Include Exising Fields - https://www.mongodb.com/docs/manual/reference/operator/aggregation/project/#include-existing-fields - [x] Exclude Fields - https://www.mongodb.com/docs/manual/reference/operator/aggregation/project/#exclude-fields - [ ] Exclude fields conditionally - [x] Suppress the `_id` field - https://www.mongodb.com/docs/manual/reference/operator/aggregation/project/#suppress-the-_id-field - [x] Add...

enhancement

Right now we only support upsert for replacement documents. Research and implement it for other operations, like `$set` or `$inc`.

enhancement

Our implementation only deletes all records that match the query. We need to add proper support for `deleteOne` and `ordered`: https://www.mongodb.com/docs/manual/reference/method/db.collection.deleteOne/ ```rust [Document({"delete": String("test_16deae6e-2afa-42a6-b129-ceef7d46c19b"), "deletes": Array([Document({"q": Document({"a": Int32(1)}), "limit": Int32(0)})]),...

enhancement

When you send an `update` command with multiple clauses, it should be atomic and if one of the updates don't work, all updates should be rolled back.

enhancement

We only support `$set`, `$unset` and `$inc` from the list below. https://www.mongodb.com/docs/manual/reference/operator/update/#std-label-update-operators

enhancement

We get the following query: ```sql UPDATE "db_test"."test_collection_1657995566780048000" SET _jsonb = _jsonb || json_build_object('v', COALESCE(_jsonb->'v')::numeric + 10)::jsonb || json_build_object('z', COALESCE(_jsonb->'z')::numeric + -2)::jsonb WHERE (CASE WHEN (_jsonb->'one' ? '$f') THEN (_jsonb->'one'->>'$f')::numeric...

bug