method Db.close
Closes the connection; later calls on this handle fail.
Example:
use std.orm { Db }
fn main() io, db {
let db = Db.open("sqlite::memory:")!
db.close()
print("closed")
}Output
closed
pub(api) fn close() dbSince. 1.0.0-beta
Effects
db
Defined in: std/orm/orm.oxl:308