feat: add InfluxDB support (#980)

This commit is contained in:
John Jin authored and GitHub committed 2026-06-10 14:37:53 +08:00
1 parent c13efc65f8
commit 0bd07ccf46
23 files changed
+470 -7

No files matched your search

+2
View File
@@ -165,6 +165,8 @@ pub fn build_drop_table_sql(options: TableAdminSqlOptions) -> String {
let table = qualified_name(options.database_type, options.schema.as_deref(), &options.table_name);
if matches!(options.database_type, Some(DatabaseType::Iotdb)) {
return format!("DELETE TIMESERIES {};", iotdb_timeseries_pattern(&table));
} else if matches!(options.database_type, Some(DatabaseType::InfluxDb)) {
return format!("DROP MEASUREMENT {};", table);
}
format!("DROP TABLE {table};")
}