aboutsummaryrefslogtreecommitdiffstats
path: root/src/yaml
diff options
context:
space:
mode:
authorTeddy Wing2022-03-18 00:49:56 +0100
committerTeddy Wing2022-03-18 00:49:56 +0100
commit825355068ba919c9f58593293f917328e7833c20 (patch)
tree20cf9c0df8d959cc569bae46ee84db828ac1060e /src/yaml
parent2cf56295d64a42ee6e4d86b1932077480bb51984 (diff)
downloadyaqlite-825355068ba919c9f58593293f917328e7833c20.tar.bz2
select(): Trying to inspect data queried from database
Can't get the info from inside the closure it seems. The row iterator doesn't seem to be looping. Not sure what the story is yet. Maybe I'm not converting the data types correctly.
Diffstat (limited to 'src/yaml')
-rw-r--r--src/yaml/sql.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yaml/sql.rs b/src/yaml/sql.rs
index 99353c3..49d83f7 100644
--- a/src/yaml/sql.rs
+++ b/src/yaml/sql.rs
@@ -3,6 +3,7 @@ use yaml_rust::yaml;
use std::borrow::Cow;
+#[derive(Debug)]
pub(crate) struct Yaml<'a>(pub Cow<'a, yaml::Yaml>);
// impl<'a, Y> From<Y> for Yaml<'a>