serialize
Serialize Database
Serialize the current database into a raw array of bytes; the resulting bytes can be persisted to disk, or sent across a network connection, and de-serialized into an equivalently behaving database object at a later time or on another peer.
The schema parameter is used to specify the schema to serialize; by default, the main
schema is serialized.
Return
Serialized database.
Parameters
schema
Schema to serialize.