copy

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

Make a copy of a database in a new location.

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)