module Hermes::Persistent

Defined in:

hermes/persistent.cr

Instance Method Summary

Macro Summary

Instance Method Detail

def _id #

[View source]
def _id=(_id) #

[View source]
def _index #

[View source]
def _index=(_index) #

[View source]
def _type #

[View source]
def _type=(_type) #

[View source]
def es_new_record? #

[View source]

Macro Detail

macro es_fields(properties, strict = false, prefix = "") #

Options:

  • type
  • nilable
  • setter
  • getter
  • default
  • converter
  • emit_null
  • root

[View source]
macro es_fields(**properties) #

This is a convenience method to allow invoking JSON.mapping with named arguments instead of with a hash/named-tuple literal.


[View source]