Hello @Pavel_Duchovny .This is what i get when i do
mydb1.mongodbbucket.find({ "samples.timestamp1": { "$eq": datetime.strptime("2018-01-24 14:10:00", "%Y-%m-%d %H:%M:%S") }}, {"samples.$.id13": 1 });
pymongo.errors.OperationFailure: As of 4.4, it's illegal to specify positional operator in the middle of a path.Positional projection may only be used at the end, for example: a.b.$. If the query previously used a form like a.b.$.d, remove the parts following the '$' and the results will be equivalent., full error: {'ok': 0.0, 'errmsg': "As of 4.4, it's illegal to specify positional operator in the middle of a path.Positional projection may only be used at the end, for example: a.b.$. If the query previously used a form like a.b.$.d, remove the parts following the '$' and the results will be equivalent.", 'code': 31394, 'codeName': 'Location31394'}