namespace
Define a namespace if you have multiple equal entity names. Resulting in "{namespace}/{entity}"
Usage
class User extends Model {
static entity = 'users'
static namespace = 'orm'
static fields () {
return {
userId: this.attr(null)
}
}
}
Typescript Declarations
const namespace: string = ''
Table of Contents