We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b0fff commit b662931Copy full SHA for b662931
1 file changed
file.go
@@ -162,6 +162,11 @@ func (db *DbFile) Version() int {
162
return int(db.header.SqliteVersion)
163
}
164
165
+// UserVersion returns the user version for this database.
166
+func (db *DbFile) UserVersion() int {
167
+ return int(db.header.UserVersion)
168
+}
169
+
170
func (db *DbFile) Tables() []Table {
171
return db.tables
172
0 commit comments