Exemplo n.º 1
0
 def refresh_database_statistics(self):
     self.propgrid.SetPropertyValue("db.items",
                                    core_api.get_items_count(self.filename))
Exemplo n.º 2
0
def print_db(filename):
    print('Items in {}: {}'.format(filename,
                                   core_api.get_items_count(filename)))
    for table in core_api.select_all_table_names(filename):
        print_table(filename, table[0])
Exemplo n.º 3
0
def print_db(filename):
    print('Items in {}: {}'.format(filename, core_api.get_items_count(filename))
                                                                               )
    for table in core_api.select_all_table_names(filename):
        print_table(filename, table[0])
Exemplo n.º 4
0
 def refresh_database_statistics(self):
     self.propgrid.SetPropertyValue("db.items",
                                 core_api.get_items_count(self.filename))