save

open override fun save(id: String, obj: T)

Saves (persists) an entity in storage under the given identifier.

Parameters

id

The unique identifier for the entity.

obj

The entity to save.