Skip to content

Commit 4f2abd5

Browse files
JannisJannis Pohlmann
authored andcommitted
store/postgres: Remove unused upsert method on Connection
1 parent 14f9f26 commit 4f2abd5

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

store/postgres/src/entities.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -301,17 +301,6 @@ impl<'a> Connection<'a> {
301301
table.insert(self.conn, key, data, history_event)
302302
}
303303

304-
#[allow(dead_code)]
305-
pub(crate) fn upsert(
306-
&self,
307-
key: &EntityKey,
308-
data: &serde_json::Value,
309-
history_event: Option<&HistoryEvent>,
310-
) -> Result<usize, StoreError> {
311-
let table = self.table(&key.subgraph_id)?;
312-
table.upsert(self.conn, key, data, history_event)
313-
}
314-
315304
pub(crate) fn update(
316305
&self,
317306
key: &EntityKey,

0 commit comments

Comments
 (0)