A persistent object database is software that allows users to store and retrieve objects in a database that can persist between sessions, providing persistent storage for data.
To get started, simply use the Tangram module and connect to your database by passing your schema, data source, username, and password to the Tangram::Storage object. Once you're connected, you can start inserting objects with a single line of code, and even insert multiple objects at once if you need to.
If you need to update your data, simply call the update method on your object or objects, and your changes will be persisted to disk. Loading and selecting data is also easy, with methods available for handling single objects or multiple entries. If you need to select objects based on certain criteria, you can provide a filter to narrow down your results.
If you're working with remote objects, you can still access them using Tangram::Storage's select method. Likewise, you can use a cursor to iterate through your entries, which can be useful when dealing with large datasets.
Finally, when you're done using Tangram::Storage, make sure to disconnect from your database with the disconnect method to avoid any issues down the line. Overall, Tangram::Storage provides a lot of power and flexibility when dealing with persistent object databases, making it a great tool for developers looking to streamline their workflow.
Version 2.04: N/A