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
.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".