v1a0 / sqllex

The most pythonic ORM (for SQLite and PostgreSQL). Seriously, try it out!
https://v1a0.github.io/sqllex
GNU General Public License v3.0
92 stars 8 forks source link

FEATURE | Get size of SQLite3x database #50

Open v1a0 opened 3 years ago

v1a0 commented 3 years ago

Get size of SQLite3x database


db: SQLite3x = ...

print(db.get_size())
print(db._size)
print(db._file_size)