diff options
author | Teddy Wing | 2022-03-13 02:43:57 +0100 |
---|---|---|
committer | Teddy Wing | 2022-03-13 02:43:57 +0100 |
commit | 2219c6dbd34903c1d32641cec56063b621d44c21 (patch) | |
tree | 3ff3475c4b49451fc656d2c95d603d5866a327b7 /src/main.rs | |
parent | 7ea044674fb54b4eaeea35e5b70486de4cb1e39f (diff) | |
download | yaqlite-2219c6dbd34903c1d32641cec56063b621d44c21.tar.bz2 |
main(): Remove `get_column_names()` call
That is now moved to `yaqlite::insert()`.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 8b4e9af..0ac5a26 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,9 +9,6 @@ fn main() { let mut dbconn = rusqlite::Connection::open("./test.db").unwrap(); - let table_columns = yaqlite::sqlite::get_column_names(&dbconn, "people"); - dbg!(&table_columns); - let text_data = std::fs::read_to_string("test2.yml").unwrap(); let mut yaml_data = yaml::YamlLoader::load_from_str(&text_data).unwrap(); |