BatchUpdater represents the ingestion-facing API for a dawgs BatchOperation
| 171 | |
| 172 | // BatchUpdater represents the ingestion-facing API for a dawgs BatchOperation |
| 173 | type BatchUpdater interface { |
| 174 | UpdateNodeBy(update graph.NodeUpdate) error |
| 175 | UpdateRelationshipBy(update graph.RelationshipUpdate) error |
| 176 | Nodes() graph.NodeQuery |
| 177 | Relationships() graph.RelationshipQuery |
| 178 | } |
| 179 | |
| 180 | // ReadFileForIngest orchestrates the ingestion of a file into the graph database, |
| 181 | // performing any necessary metadata validation and schema enforcement before |
no outgoing calls
no test coverage detected