copy

expect fun copy(path: String, name: String, config: DatabaseConfiguration? = null)(source)

Make a copy of a database in a new location. It is recommended that this method not be used on an open database.

Parameters

path

path to the existing db file

name

the name of the new DB

config

a config with the new location

Throws

on copy failure

actual fun copy(path: String, name: String, config: DatabaseConfiguration?)(source)
actual fun copy(path: String, name: String, config: DatabaseConfiguration?)(source)