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")
}Вывод
closed
pub(api) fn close() dbС версии. 1.0.0-beta
Эффекты
db
Определено в: std/orm/orm.oxl:308