denizzzka / dianna2

DIANNA - IANA Decentralized
MIT License
3 stars 0 forks source link

some small sqlite changes #7

Closed denizzzka closed 9 years ago

denizzzka commented 9 years ago

https://github.com/biozic/d2sqlite3/pull/8

Adds support for bind!(Nullable!T) and peek!(Nullable!T), which will bind NULL or the stored type (useful for, ex. optional foreign key columns)

Added Database.check and Statement.check, which is a shortcut for auto result = ...; enforce(result == SQLITE_OK, errmsg(p.handle))