FOR CONSISTENCY

This commit is contained in:
Philippe PITTOLI 2024-05-22 05:13:24 +02:00
parent b0d59c92dc
commit 8ee628d640

View File

@ -393,7 +393,7 @@ class DODB::RAMOnlyTags(V) < DODB::CachedTags(V)
# # ] # # ]
# # Each tuple is composed of a car and its key in the database. # # Each tuple is composed of a car and its key in the database.
# ``` # ```
# WARNING: throws a MissingEntry exception on non-existing tag. # WARNING: FOR CONSISTENCY, throws a MissingEntry exception on non-existing tag.
def get_with_keys(tag : String) : Array(Tuple(V, Int32)) def get_with_keys(tag : String) : Array(Tuple(V, Int32))
r_value = Array(Tuple(V, Int32)).new r_value = Array(Tuple(V, Int32)).new
if keys = @data[tag]? if keys = @data[tag]?