Miscellaneous
Other functions provided by Dubnium.
Directory
Change
db.config.dir = './new/dir'Make
await db.dir()Read Configuration
db.config[setting]Search Content
Convert content to String and return the result of String.search()
await db.get("tag").search('query')Create Symlink to a Record
await db.get('tag').symlink('./path/to/symlink') Parameter
About
Type
Required
target
Path to a directory where the symlink will be created
String
Get Record's Stats
End
If you want to end a string of methods, you can with .end(). Note: this is not required.
Exit
If you wish to exit the Record editor API, call the exit() method and it will return the class.
Internal Functions
Dubnium exports some internal functions that can be used in your project.
Aliases
Don't like the name we chose for a method? Set an alias!
For example,
Iterate
Lock/Unlock
Uses proper-lockfile.
Get Database Name
Last updated