aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2022-03-19 15:08:44 +0100
committerTeddy Wing2022-03-19 15:08:44 +0100
commit02b6af5d4f34ac31733eec7fc102b519e4c32033 (patch)
tree35ab528f9fd85f729fb234a96fbc7849c404b77b
parentc00534e648da45b8e925c777c96200d55a82d01d (diff)
downloadyaqlite-02b6af5d4f34ac31733eec7fc102b519e4c32033.tar.bz2
select(): Idea for selecting by a custom column name
-rw-r--r--src/select.rs8
1 files changed, 8 insertions, 0 deletions
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,