pub fn result_int64(context: *mut sqlite3_context, i: i64)
Expand description
sqlite3_result_int64
to represent that a function returns an int64 with the given value.
Examples found in repository?
examples/series.rs (line 146)
143 fn column(&self, context: *mut sqlite3_context, i: c_int) -> Result<()> {
144 match column(i) {
145 Some(Columns::Value) => {
146 api::result_int64(context, self.value);
147 }
148 Some(Columns::Start) => {
149 api::result_int64(context, self.min);
150 }
151 Some(Columns::Stop) => {
152 api::result_int64(context, self.max);
153 }
154 Some(Columns::Step) => {
155 //context_result_int(0);
156 }
157 _ => (),
158 }
159 Ok(())
160 }