Stijn Sanders

Results 21 comments of Stijn Sanders

I think you probably should look into the [`$push`](https://docs.mongodb.com/manual/reference/operator/update/push/) operator instead of posting a full update of the document. fMongoWire.Update(mxCollectionPersons,dSelector,JSON(['$push{','data[0].jobs{','title','t3','type','tt3','}}']));

Having a look at [this one](https://docs.mongodb.com/manual/core/document/#dot-notation) again, it may be `'data.0.jobs{'` instead of `'data[0].jobs{'`

I know very little about Linux, sorry.

Still, how is the story with Lazarus/FPC and mongodb? Would it be worth it if I put some time in trying to port TMongoWire to Lazarus/FPC?

I agree, it's a good proposal and easy to do, **but** specifically with jsonDoc, in most cases where you process a series of similar operations, there's some advantage in (re)using...

For now I've done the functions with IJSONDocument's from the RunCommand's. See my most recent commit.

Apparently a lot changed with MongoDB 5 and 6 (and I got a little out of touch), but I see insert/update/delete are functions as you suggested, so I'll close this...

I've had a try and can reproduce. The problem is I last worked on this with mongo version 3.0, and the download now is 3.4 and I can't seem to...

Dang! I was trying with mongoAuth3, without success. I've added a message to mongoAuth.pas, that it is only for versions up to 2.6. (I should consider removing it some time...

MongoDB 5 had the wire protocol extensively changed. Could you confirm of mongoAuth3.pas still works, using the most recent commit?