Rill v0.10.4 Rill.EntityStore.Controls.Store.Example View Source

Link to this section Summary

Functions

Returns the entity if no include is provided, otherwise a list with entity as first element and the other requested fields in the same order as written in include option. If the entity does not exists (nothing was written to the stream), nil is returned

Link to this section Functions

Link to this function

fetch(session, id, opts \\ []) View Source

Callback implementation for Rill.EntityStore.fetch/3.

Link to this function

get(session, id, opts \\ []) View Source

Returns the entity if no include is provided, otherwise a list with entity as first element and the other requested fields in the same order as written in include option. If the entity does not exists (nothing was written to the stream), nil is returned

Callback implementation for Rill.EntityStore.get/3.