Specialized version of the field decorator, which should be used to mark the references. All it does is replace the default value of the second argument to the ReferenceField.
class Author extends Person { @bucket() books : Set<Book> } class Book extends Entity.mix(Base) { @reference({ bucket : 'books' }) writtenBy : Author }
Object with the configuration properties
Optional. Default value has been changed to ReferenceField
Generated using TypeDoc
Specialized version of the field decorator, which should be used to mark the references. All it does is replace the default value of the second argument to the ReferenceField.
class Author extends Person { @bucket() books : Set<Book> } class Book extends Entity.mix(Base) { @reference({ bucket : 'books' }) writtenBy : Author }