1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
use crate::mysql::def::SystemInfo; #[derive(Debug, Default)] pub struct SchemaQueryBuilder { pub system: SystemInfo, } impl SchemaQueryBuilder { pub fn new(system: SystemInfo) -> Self { Self { system } } } #[derive(Debug, sea_query::Iden)] /// Ref: https://dev.mysql.com/doc/refman/8.0/en/information-schema.html pub enum InformationSchema { #[iden = "information_schema"] Schema, Tables, Columns, Statistics, KeyColumnUsage, ReferentialConstraints, }