From df5a87bc5f2736f878a144ecf877b8440efedabd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D1=80=D0=B8=D0=B3=D0=BE=D1=80=D0=B8=D0=B9=20=D0=A1?= =?UTF-8?q?=D0=B0=D1=84=D1=80=D0=BE=D0=BD=D0=BE=D0=B2?= Date: Sun, 24 May 2026 22:04:27 +0000 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index aceb7dd..8ba2371 100644 --- a/README.md +++ b/README.md @@ -492,28 +492,32 @@ Futriix поддерживает первичные (по _id) и вторичн ```sh # Создание обычного индекса futriix:~> create index employees name_idx name -✓ Index 'name_idx' created on collection 'employees' +✓ Index 'name_idx' created on collection 'employees' at 2026-01-15 10:50:15.123 # Создание уникального индекса futriix:~> create index employees email_idx email unique -✓ Index 'email_idx' created on collection 'employees' +✓ Index 'email_idx' created on collection 'employees' at 2026-01-15 10:50:18.456 # Создание составного индекса futriix:~> create index employees dept_age_idx department,age -✓ Index 'dept_age_idx' created on collection 'employees' +✓ Index 'dept_age_idx' created on collection 'employees' at 2026-01-15 10:50:21.789 -# Просмотр всех индексов +# Просмотр всех индексов (с временем создания) futriix:~> show indexes employees Indexes on collection 'employees': - - _id_ - - name_idx - - email_idx - - dept_age_idx + - _id_ (created: 2026-01-15 10:32:15.234) + - name_idx (created: 2026-01-15 10:50:15.123) + - email_idx (unique) (created: 2026-01-15 10:50:18.456) + - dept_age_idx (created: 2026-01-15 10:50:21.789) -# Удаление индекса +# Удаление индекса (с временем удаления) futriix:~> drop index employees dept_age_idx -✓ Index 'dept_age_idx' dropped from collection 'employees' +✓ Index 'dept_age_idx' dropped from collection 'employees' at 2026-01-15 10:51:05.234 + +# Начало сессии (с временем создания сессии) +futriix:~> db.startSession() +✓ Session started: session_12345 at 2026-01-15 10:55:15.123 ```

(К началу)