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