stmt:close()

Close a prepared statement, freeing any memory associated with the statement.

Example

db=sqlite.open('testdb')
stmt,err=db:prepare('select count(*) from foo where x between ? and ?')
stmt:close()