Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HasManyCountAssociationsMixinOptions

The options for the countAssociations mixin of the hasMany association.

see

HasManyCountAssociationsMixin

Hierarchy

Index

Properties

scope?: string | boolean

Apply a scope on the related model, or remove its default scope by passing false.

transaction?: null | Transaction

The transaction in which this query must be run.

If CLS is enabled and a transaction is running in the current CLS context, that transaction will be used, unless null or a Transaction is manually specified here.

where?: WhereOptions<any>

The WHERE clause. Can be many things from a hash of attributes to raw SQL.

Generated using TypeDoc