We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
upsert
Connection
1 parent 14f9f26 commit 4f2abd5Copy full SHA for 4f2abd5
store/postgres/src/entities.rs
@@ -301,17 +301,6 @@ impl<'a> Connection<'a> {
301
table.insert(self.conn, key, data, history_event)
302
}
303
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
-
315
pub(crate) fn update(
316
&self,
317
key: &EntityKey,
0 commit comments