IndexedDB::InMemoryStore class of PicoRuby

Singleton methods

new

IndexedDB::InMemoryStore.new(InMemoryDatabase database, String name, ?upgrading: bool) -> void

Instance methods

clear

instance.clear() -> nil

count

instance.count(?untyped? key_or_range) -> Integer

create_index

instance.create_index(String index_name, String key_path, ?unique: bool, ?multi_entry: bool) -> nil

data

instance.data() -> Hash[untyped, untyped]

delete

instance.delete(untyped key) -> nil

delete_index

instance.delete_index(String index_name) -> nil

each

instance.each(?untyped? range, ?direction: Symbol) ?{ ([untyped, untyped]) -> void } -> (Enumerator[[untyped, untyped], void] | void)

get

instance.get(untyped key) -> untyped

index

instance.index(String index_name) -> InMemoryIndex

index_names

instance.index_names() -> Array[String]

keys

instance.keys(?untyped? range) -> Array[untyped]

meta

instance.meta() -> Hash[Symbol, untyped]

put

instance.put(untyped value, ?key: untyped?) -> untyped

to_a

instance.to_a(?untyped? range) -> Array[untyped]

Attr accessors

name (reader)

instance.name -> String
Tags: class