From cca3cc7694592a5e9bdfb5d67c873cb8a0b8f740 Mon Sep 17 00:00:00 2001 From: Reece Yang Date: Wed, 10 Jul 2024 07:08:34 -0700 Subject: [PATCH] chore: fix README.md formatting (#440) --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 121ff91..37e4f46 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ A [Feathers](https://feathersjs.com) database adapter for [Sequelize](http://seq - [API](#api) - [`service(options)`](#serviceoptions) - [params.sequelize](#paramssequelize) - - [operators](#operators) + - [operators](#operatormap) - [Caveats](#caveats) - [Sequelize `raw` queries](#sequelize-raw-queries) - [Working with MSSQL](#working-with-mssql) @@ -118,9 +118,6 @@ Beware that when setting a [top-level `where` property](https://sequelize.org/ma This library offers some additional functionality when using `sequelize.returning` in services that support `multi`. The `multi` option allows you to create, patch, and remove multiple records at once. When using `sequelize.returning` with `multi`, the `sequelize.returning` is used to indicate if the method should return any results. This is helpful when updating large numbers of records and you do not need the API (or events) to be bogged down with results. -```js - - ### operatorMap Sequelize deprecated string based operators a while ago for security reasons. Starting at version 4.0.0 `feathers-sequelize` converts queries securely, so you can still use string based operators listed below. If you want to support additional Sequelize operators, the `operatorMap` service option can contain a mapping from query parameter name to Sequelize operator. By default supported are: