From 365eed8664b458b4bdbcf242ea2542e509539edc Mon Sep 17 00:00:00 2001 From: Vitaliy Demidov Date: Sat, 24 Feb 2024 20:12:06 -0800 Subject: [PATCH] fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7940b45..2fe403b 100644 --- a/README.md +++ b/README.md @@ -57,11 +57,11 @@ CREATE TABLE versions ( ) ENGINE = InnoDB charset utf8mb4; ``` Let's assume the DB table is empty. -When the new version is being added the `sort_order` is undefined, and can be calculated with +When the new version is being added the `sort_order` value is undefined and can be calculated with the [`GET_SORT_ORDER(version)` stored function][5]: ```sql -SELECT GET_SORT_URDER('1.0.0'); +SELECT GET_SORT_ORDER('1.0.0'); 9223372036854775807 ``` With the help of the [Before Insert TRIGGER][2] on the `versions` table, the `sort_order` property