Skip to content

Commit

Permalink
Merge ee7c361 into b3f2889
Browse files Browse the repository at this point in the history
  • Loading branch information
JulieRossi committed Oct 19, 2017
2 parents b3f2889 + ee7c361 commit 994ccd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mongo_connector/doc_managers/postgresql_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ def _bulk_upsert(self, documents, namespace):
self.commit()

def update(self, document_id, update_spec, namespace, timestamp):
if not is_mapped(self.mappings, namespace):
return
db, collection = db_and_collection(namespace)
updated_document = self.get_document_by_id(db, collection, document_id)
primary_key = self.mappings[db][collection]['pk']
Expand Down

0 comments on commit 994ccd3

Please sign in to comment.