Using Node.js with Caché
- About This Book
- Introduction
- Using cache.node NoSQL Methods
- Comparing Globals and JSON Objects
- cache.node Methods: (Synchronous vs. Asynchronous)
- Opening and Closing the Caché Database
- Optional open() Settings
- Utility Functions
- NoSQL Methods for Global Nodes
- Save a Global Node: set()
- Retrieve a Global Node: get()
- Delete a Global Node: kill()
- Test for the Existence of a Global Node: data()
- Get the Next Global Subscript: next()
- Get the Previous Global Subscript: previous()
- Get the Next Global Node: next_node()
- Get the Previous Global Node: previous_node()
- Get the Next Value for an Integer Held in a Global Node: increment()
- Copy a Global: merge()
- Get a List of Globals in the Directory: global_directory()
- Lock and Unlock Global Nodes: lock() and unlock()
- NoSQL Methods for Structured JSON Objects
- Retrieve a List of Global Nodes: retrieve("list")
- Retrieve a List of Global Nodes Recursively: retrieve("array")
- Save a List of Global Nodes: update("array")
- Retrieve a Structured Data Object: retrieve("object")
- Save a Structured Data Object: update("object")
- Controlling the Amount of Data Returned by Retrieve Operations
- Integration with Caché Objects
- NoSQL Based Object-Oriented Development Methodology
- Invoke a Class Method: invoke_classmethod()
- Create a New Caché Object: create_instance()
- Open an Existing Caché Object: open_instance()
- Set the Value for a Property: set_property()
- Get the Value for a Property: get_property()
- Invoke an Instance Method: invoke_method()
- Save a Caché Object: save_instance()
- Close a Caché Object: close_instance()
- Putting it All Together