Function: useReActiveDatabase()
ts
function useReActiveDatabase(): VueReActiveRecordInstance;Injects and returns the Vue ReActiveRecord database instance from the current Vue application context.
Returns
The injected VueReActiveRecordInstance.
Throws
If the database instance is not found in the current Vue context. Ensure the plugin is installed using app.use(install).