You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I feel happy to know your excellent code, however, I am not very good at English,I try to express my point clearly ...
If I have a primary key with the int type, and I transform it into str here, I can't find the data to delete by using "self.mongo.delete(doc=doc['values'], schema=doc['schema'], collection=doc['table'], primary_key=primary_key)"
the same problem appears here:
I think it's because when parse the dumpfile, "int--> str" by "doc[child.attrib['name']] = child.text"
but when we use python-mysql-replication, it can keep "int" still "int" ....
I should transform the string into ObjectId, if I want to query and delete it from the mongodb ...
The text was updated successfully, but these errors were encountered: