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 b296484 commit 1004237Copy full SHA for 1004237
datajoint/schema.py
@@ -78,6 +78,9 @@ def __repr__(self):
78
79
@property
80
def size_on_disk(self):
81
+ """
82
+ :return: size of the database in bytes
83
84
return float(self.connection.query(
85
"""SELECT Sum(data_length + index_length) FROM information_schema.tables WHERE table_schema='{}';""".format(
86
self.database)).fetchone()[0])
0 commit comments