From 02b6af5d4f34ac31733eec7fc102b519e4c32033 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 19 Mar 2022 15:08:44 +0100 Subject: select(): Idea for selecting by a custom column name --- src/select.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/select.rs b/src/select.rs index d5bab23..f480fbf 100644 --- a/src/select.rs +++ b/src/select.rs @@ -1,6 +1,14 @@ use std::collections::HashMap; +// pub fn select_by_column( +// dbconn: &rusqlite::Connection, +// table_name: &str, +// primary_key_column: &str, +// record_id: &str, +// ) { +// } + pub fn select( dbconn: &rusqlite::Connection, table_name: &str, -- cgit v1.2.3