Mserialize
Bun

method

sqlite.Database.serialize

name?: string
): Buffer;

Save the database to an in-memory Buffer object.

Internally, this calls sqlite3_serialize.

@param name

Name to save the database as

@returns

Buffer containing the serialized database