Skip to content

Commit

Permalink
docs(query-interface): fix broken links (#12272)
Browse files Browse the repository at this point in the history
  • Loading branch information
papb committed May 19, 2020
1 parent 8a1429d commit 3e4b5ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/manual/other-topics/query-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ An instance of Sequelize uses something called **Query Interface** to communicat

The methods from the query interface are therefore lower-level methods; you should use them only if you do not find another way to do it with higher-level APIs from Sequelize. They are, of course, still higher-level than running raw queries directly (i.e., writing SQL by hand).

This guide shows a few examples, but for the full list of what it can do, and for detailed usage of each method, check the [QueryInterface API](../class/lib/query-interface.js~QueryInterface.html).
This guide shows a few examples, but for the full list of what it can do, and for detailed usage of each method, check the [QueryInterface API](../class/lib/dialects/abstract/query-interface.js~QueryInterface.html).

## Obtaining the query interface

From now on, we will call `queryInterface` the singleton instance of the [QueryInterface](../class/lib/query-interface.js~QueryInterface.html) class, which is available on your Sequelize instance:
From now on, we will call `queryInterface` the singleton instance of the [QueryInterface](../class/lib/dialects/abstract/query-interface.js~QueryInterface.html) class, which is available on your Sequelize instance:

```js
const { Sequelize, DataTypes } = require('sequelize');
Expand Down Expand Up @@ -149,4 +149,4 @@ DROP TABLE `Person_backup`;

## Other

As mentioned in the beginning of this guide, there is a lot more to the Query Interface available in Sequelize! Check the [QueryInterface API](../class/lib/query-interface.js~QueryInterface.html) for a full list of what can be done.
As mentioned in the beginning of this guide, there is a lot more to the Query Interface available in Sequelize! Check the [QueryInterface API](../class/lib/dialects/abstract/query-interface.js~QueryInterface.html) for a full list of what can be done.

0 comments on commit 3e4b5ed

Please sign in to comment.