UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

67 lines (35 loc) 1.36 kB
--- lang: en title: 'API docs: sequelize.sequelizecrudrepository.buildsequelizewhere' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/sequelize permalink: /doc/en/lb4/apidocs.sequelize.sequelizecrudrepository.buildsequelizewhere.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/sequelize](./sequelize.md) &gt; [SequelizeCrudRepository](./sequelize.sequelizecrudrepository.md) &gt; [buildSequelizeWhere](./sequelize.sequelizecrudrepository.buildsequelizewhere.md) ## SequelizeCrudRepository.buildSequelizeWhere() method Build Sequelize compatible where condition object **Signature:** ```typescript protected buildSequelizeWhere<MT extends T>(where?: Where<MT>): WhereOptions<MT>; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> where </td><td markdown="1"> [Where](./filter.where.md)<!-- -->&lt;MT&gt; </td><td markdown="1"> _(Optional)_ loopback style `where` condition </td></tr> </tbody></table> **Returns:** WhereOptions&lt;MT&gt; Sequelize compatible where options to be used in queries