Collection
Methods that can be used regardless of collection.
createBackup()
createBackup()
Create a backup of the collection.
returns String<[BackupFilename]> | Boolean
Example:
example_collection.createBackup(); // -> EXAMPLE_COLLECTION_2022-03-20_AUTO.pea
loadBackup(filename)
loadBackup(filename)
Load a backup to the collection.
Parameter
Description
filename
returns Boolean
Example:
example_collection.loadBackup("EXAMPLE_COLLECTION_2022-03-20_AUTO.pea"); // -> true
drop()
drop()
Drop the collection.
returns Boolean
Example:
example_collection.drop(); // -> true
Last updated