From c3c690b90688941eab5c9efa6918314d52a9b8ef Mon Sep 17 00:00:00 2001 From: Constantin Metz <58604248+Keimeno@users.noreply.github.com> Date: Sun, 31 Oct 2021 14:11:34 +0100 Subject: [PATCH] fix(docs): using incorrect esdocs syntax (#13615) --- lib/model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model.js b/lib/model.js index effca70af190..8e1b98e6a765 100644 --- a/lib/model.js +++ b/lib/model.js @@ -2447,7 +2447,7 @@ class Model { * @param {boolean} [options.benchmark=false] Pass query execution time in milliseconds as second argument to logging function (options.logging). * @param {string} [options.searchPath=DEFAULT] An optional parameter to specify the schema search_path (Postgres only) * - * @returns {Promise<[Model, boolean | null]>} returns an array with two elements, the first being the new record and the second being `true` if it was just created or `false` if it already existed (except on Postgres and SQLite, which can't detect this and will always return `null` instead of a boolean). + * @returns {Promise>} returns an array with two elements, the first being the new record and the second being `true` if it was just created or `false` if it already existed (except on Postgres and SQLite, which can't detect this and will always return `null` instead of a boolean). */ static async upsert(values, options) { options = {