Back to Nocobase

IModel

docs/docs/en/api/data-source-manager/i-model.md

2.1.4225 B
Original Source

IModel

The IModel interface defines the basic properties and methods of a model object.

typescript
export interface IModel {
  toJSON: () => any;
}

API

toJSON()

Converts the model object to JSON format.