Manage
Create Record
db.create('tag',content,options)
Parameter
About
Type
Required
tag
The new Record's tag
String
content
The Record's content
Any
options
writeFile options
Object
Delete Record
db.get('tag').delete()
No parameters
Close
Delete all records & the directory
db.close()
No parameters
Wipe
Delete all records & preserve the directory
db.wipe()
No parameters
Delete Old Records
db.deleteOld({ ms:5, seconds:5, minutes:5, hours:5, days:0})
Requires at least one of the options below (multiple options will stack)
Name
About
Type
Required
ms
Milliseconds
Number
seconds
Seconds
Number
minutes
Minutes
Number
hour
Hours
Number
days
Days
Number
Delete Large Records
db.deleteLarge({ bytes:0, kilobytes:0, megabytes:0, gigabytes:0 })
Requires at least one of the options below (multiple options will stack)
Name
About
Type
Required
options.bytes
Bytes
Number
options.kilobytes
Kilobytes
Number
options.megabytes
Megabytes
Number
options.gigabytes
Gigabytes
Number
Last updated
Was this helpful?