FlowModel Persistence
FlowEngine provides a complete persistence system.

IFlowModelRepository
IFlowModelRepository is the model persistence interface for FlowEngine, defining operations such as remote loading, saving, and deleting of models. By implementing this interface, model data can be persisted to a backend database, API, or other storage media, enabling data synchronization between the frontend and backend.
Main Methods
-
findOne(query: Query): Promise<FlowModel | null>
Loads model data from a remote source based on the unique identifieruid. -
save(model: FlowModel): Promise<any>
Saves the model data to remote storage. -
destroy(uid: string): Promise<boolean>
Deletes the model from remote storage based onuid.

