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 ```

(К началу)