Skip to content

Conversation

@JakeRoggenbuck
Copy link
Owner

No description provided.

@JakeRoggenbuck
Copy link
Owner Author

You can now add strings

let width = 10;

let mut db = RDatabase::new();
let table_ref = db.create_table(String::from("Names"), width, 0);
let mut q = RQuery::new(table_ref);

let name = "Jake";

q.insert_string(0, name, width);

let str = q.select_string(0, width);

assert_eq!(str, "Jake");

@JakeRoggenbuck JakeRoggenbuck merged commit bd86511 into main Mar 10, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants