Struct brontes_database::clickhouse::dbms::BrontesDex_Price_Mapping
source · pub struct BrontesDex_Price_Mapping;
Trait Implementations§
source§impl ClickhouseTable<BrontesClickhouseTables> for BrontesDex_Price_Mapping
impl ClickhouseTable<BrontesClickhouseTables> for BrontesDex_Price_Mapping
const DATABASE_NAME: &'static str = "brontes"
const TABLE_NAME: &'static str = "dex_price_mapping"
const FILE_PATH: &'static str = "/home/runner/work/brontes/brontes/crates/brontes-database/brontes-db/src/clickhouse/tables/dex_price_mapping.sql"
const CHILD_TABLES: &'static [BrontesClickhouseTables] = _
const TABLE_TYPE: ClickhouseTableKind = ::db_interfaces::clickhouse::tables::ClickhouseTableKind::ReplicatedReplacingMergeTree
const TABLE_ENUM: BrontesClickhouseTables = BrontesClickhouseTables::BrontesDex_Price_Mapping
type ClickhouseDataType = DexQuotesWithBlockNumber
§fn create_table(
database: &ClickhouseClient<D>,
) -> impl Future<Output = Result<(), DatabaseError>> + Send
fn create_table( database: &ClickhouseClient<D>, ) -> impl Future<Output = Result<(), DatabaseError>> + Send
creates the table and associated tables
§fn database_name() -> String
fn database_name() -> String
name of the database
§fn full_name() -> String
fn full_name() -> String
full name .