Skip to content

wkflws/wkflws_dbm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wkflws_dbm

This node provides access to Unix style "databases". These are simple key value stores that are saved on disk. They can be used as a quick way to save state. In a production system Memcache or Redis is recommended.

Get

The get node will retrieve a value from the store.

Parameters

The following parameters are available.

name required description
filename a name to give the database file. this is stored in a hard coded path and .dbm suffixed.
key the key to retrieve.
default The default value to give on cache miss. Default is null

Set

The set node will write a value to the store.

Parameters

The following parameters are available.

name required description
filename a name to give the database file. this is stored in a hard coded path and .dbm suffixed.
key the key to retrieve.
value The value to write to the store.
expiry_secs The number of seconds the value is valid for. Default is 300

About

simple unix database cache node. testing purposes only

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages