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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
    fn column(&self, context: *mut sqlite3_context, i: c_int) -> Result<()> {
        match column(i) {
            Some(Columns::Value) => {
                api::result_int64(context, self.value);
            }
            Some(Columns::Start) => {
                api::result_int64(context, self.min);
            }
            Some(Columns::Stop) => {
                api::result_int64(context, self.max);
            }
            Some(Columns::Step) => {
                //context_result_int(0);
            }
            _ => (),
        }
        Ok(())
    }