Instance Variables
The following instance variables are available globally.
-
The path of the database
Declaration
Swift
public var path: String -
The tag of the database. Default to nil.
You should set it on a database and can get it from all kind of Core objects, includingDatabase,Table,Transaction,Select,RowSelect,MultiSelect,Insert,Delete,Updateand so on.
Note that core objects with same path share this tag, even they are not the same object.let database1 = Database(withPath: path) let database2 = Database(withPath: path) database1.tag = 1 print("Tag: \(database2.tag!)") // print 1Declaration
Swift
public var tag: Tag? -
URLs to all database-related files.
Declaration
Swift
public var urls: [URL] -
Paths to all database-related files.
Declaration
Swift
public var paths: [String]
View on GitHub
Install in Dash
Instance Variables Reference