I'm trying to recreate a simple note app I built in JavaScript in Rust but I've ran into an issue with trying to delete an item from my database using ...
I'm trying to recreate a simple note app I built in JavaScript in Rust but I've ran into an issue with trying to delete an item from my database using ...
I'm still a Rust noob and I'm writing a CLI tool that reads user input and makes API calls or local DB queries through a match statement. The error I' ...
If I have a simple struct, one attribute of which contains a simple enum, how can I best store examples of this struct with their enumerations in the ...
Background To give a little bit of context: I have to mention that I am fairly new to Rust, so some of my questions might be really basic/silly - apo ...
I have scenario when I have to iterate through multiple tables in quite big sqlite database. In tables I store informations about planet position on s ...
I have a rusqlite connect in a mutex as follows: When I'm finished with it I want to close it, which I attempted to do as follows: However I ge ...
I try to cross-compile a simple rust program with sqlite on Linux for raspberry pi: Cargo.toml .cargo/config When trying to build with cargo bu ...
I need to convert strings that have the value null to actual null values in a SQLite DB using rusqlite. I'm not in control of these string values. I'v ...
I create a connection type, i.e. And then I pass that type to my save_all function along with a vector, like this: This code seems to work okay. ...
The following code fails to compile with: And if I remove dataset_id from my SQL statement and comment out the line: (":dataset_id", &dataset ...
I need to fetch a row from a database using SELECT and WHERE, I need to fetch a row depending on the age, I tried this way using some other tutorial. ...
I have a struct with NaiveDate field and I want to insert this field to a table. This is my whole code But it gives these two errors cargo.toml ...
They are described as scalar, but I think that refers to the return type rather than the arguments. I'm trying to define one in rust that will provid ...
How can I insert multiple rows in a single query using rusqlite? Looking at the syntax below, I think it fails because the query expects there to be o ...
I'm attempting to open and write to a database in a Rust library I will call from python, with the help of pyo3. If an error occurs, I would like to r ...
I try to execute a simple sqlite statement with rusqlite but get an error everytime. let seconds = 1; conn.execute( "DELETE FROM session WHERE c ...
I'm trying to serialise JSON values from a serde_json::Map into a SQLite database. I would like to use multiple data types in the Map and have them co ...
There are a number of articles explaining the problem of multi-threaded access with SQLite but I couldn't find any easy solutions. How does one access ...