Object name. You can specify a custom object or a standard object.
Optional
dynamic: booleanThe identifier is deprecated. Use the db.dynamicObject
interface.
Object wrapper
import * as db from 'db';
@useObject(['Student__CST'])
class Demo {
run(): void {
let s = db.object('Student__CST');
}
}
Create an object wrapper
Note: UseObject needs to be used for decoration. When an app is packaged, the metadata definition of the object is packaged.