Skip to main content

reifydb_store_multi/hot/sqlite/
entry.rs

1// SPDX-License-Identifier: Apache-2.0
2// Copyright (c) 2025 ReifyDB
3
4//! Table name mapping for SQLite backend.
5
6use crate::tier::EntryKind;
7
8pub(super) fn entry_id_to_name(table: EntryKind) -> String {
9	match table {
10		EntryKind::Multi => "multi".to_string(),
11		EntryKind::Source(id) => format!("source_{}", id),
12		EntryKind::Operator(id) => format!("operator_{}", id),
13	}
14}