database.open()


打开在 DatabaseSync 构造函数的 path 参数中指定的数据库。只有在数据库未通过构造函数打开时才应使用此方法。如果数据库已经打开,将抛出异常。

【Opens the database specified in the path argument of the DatabaseSync constructor. This method should only be used when the database is not opened via the constructor. An exception is thrown if the database is already open.】