Open v1a0 opened 3 years ago
But does it make sense to return the path at all if this argument is not required when creating an object?
But does it make sense to return the path at all if this argument is not required when creating an object?
Yep, sure it is. It's one of the most important properties of SQLite database. There might be many cases when you need to know with witch database you interacting (especially in some universal scripts) and there is the way to check it.
And it is required, this is the first argument of class at all
db = SQLite3x(
path='my_database.db',
)
SQLite3x.path returns relative path, but I guess return absolute path it's more reasonable for this property.
Now
Will be