Despite the reference examples for using query.Execute() showing it used as if it has some kind of return value. It does not. It should probably match other implementations of SQLite where Execute() will return true on success and false on failure.
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
var/database/query/my_query = new("SELECT * FROM my_table")
world << my_query.Execute(my_db) // null
Expected Results:
Execute() to have a true/false return value.
Actual Results:
No return value at all. This means "if(query.Execute(db))" in the reference never actually triggers.
I do think however it'd be wise to crash the proc with an error message in that case. Returning null doesn't make nearly as much sense.