close

The close function is a crucial operation to compress every table in a singular file

The close function from data_base allows the closing of a certain database locking all the tables, After the database is closed there is no way of executing any operation before opening it again.

Example:

#include "qic.h"
#include <iostream>

int main() {
  data_base db;
  db.open_database("mydatabase.db");
  db.close();
  return 0;
}

Last updated