From e6e503e4759f63bf54f5320ecf64cecf0fe16364 Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Thu, 16 May 2024 02:24:24 +0200 Subject: [PATCH] Index objects. --- graphs/graphs.ms | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/graphs/graphs.ms b/graphs/graphs.ms index 13d3fa5..09e52a1 100644 --- a/graphs/graphs.ms +++ b/graphs/graphs.ms @@ -279,9 +279,14 @@ cars_by_name = cars.new_index "name", do |car| end .SOURCE Once the index has been created, every added or modified entry in the database will be indexed. +Adding an index (basic index, partition or tag) provides an object used to manipulate the database based on this index. +Let's call it an +.I "index object" . .QE . -Adding an index (basic index, partition or tag) provides an object used to manipulate the database based on this index. +The +.I "index object" +has several useful functions. .QP .SOURCE Ruby ps=10 # Retrieve the car named "Corvet".