Skip to main content

sqlite_boolean

Function sqlite_boolean 

Source
pub fn sqlite_boolean(text: &str, default: bool) -> bool
Expand description

Reads a boolean setting the way SQLite’s sqlite3GetBoolean does.

@param text - the argument’s text @param default - what text that is not a boolean means