levelgraph / levelgraph-jsonld

The Object Document Mapper for LevelGraph based on JSON-LD
113 stars 16 forks source link

Put deletes all triples for subject iri before inserting. #35

Closed jmatsushita closed 7 years ago

jmatsushita commented 7 years ago

The current put implementation deletes all triples with the @id as a subject before inserting the new triples. It might be worth allowing optionally to only delete the triples mentioned in the inserted doc.

mcollina commented 7 years ago

I am not actively adding new features here, but if you would like to send a PR, I'll be happy to review!