Index objects.

toying-with-ramdb
Philippe PITTOLI 2024-05-16 02:24:24 +02:00
parent 8525fbf5db
commit e6e503e475
1 changed files with 6 additions and 1 deletions

View File

@ -279,9 +279,14 @@ cars_by_name = cars.new_index "name", do |car|
end end
.SOURCE .SOURCE
Once the index has been created, every added or modified entry in the database will be indexed. 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 .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 .QP
.SOURCE Ruby ps=10 .SOURCE Ruby ps=10
# Retrieve the car named "Corvet". # Retrieve the car named "Corvet".