Arkensor/EnfusionDatabaseFramework ? reverse-engineered prompt
Reverse engineered prompt
Build me an Enfusion database framework for Arma Reforger that lets game scripts save and load persistent data through a simple entity and repository style API.
I want to be able to define a DB entity with a generated ID, create a context from connection info, then add, update, find, and remove records both synchronously and asynchronously. It should support easy querying with conditions, sorting, pagination, and nested fields, and it should work with local JSON and binary files for development, plus an HTTP based path for external databases like MongoDB and MySQL. Please include a clean quick start example, basic docs, and some tests or sample usage so it is easy to understand how to use it in a mod. If anything is unclear in the current Enfusion docs, look up the current docs online and make it fit the engine’s scripting limits.
Are you gonna build this?
make sure you review the code using arcumet