class Hermes::Repository(I, T)

Defined in:

hermes/repository.cr

Class Method Summary

Class Method Detail

def self.aggregate(aggs, query = {match_all: {} of String => String}) #

[View source]
def self.all #

[View source]
def self.count(hash) #

[View source]
def self.create #

[View source]
def self.create(hash) #

[View source]
def self.delete(id) #

[View source]
def self.delete!(id) #

[View source]
def self.delete_by_query(hash) #

[View source]
def self.document_index #

[View source]
def self.document_type(name) #

[View source]
def self.explain(id, hash) #

[View source]
def self.find(id : String) #

[View source]
def self.find!(id) #

[View source]
def self.index #

[View source]
def self.multi_get(ids) #

[View source]
def self.reload(obj) #

[View source]
def self.save(obj : Persistent, refresh = false) #

[View source]
def self.search(hash) #

[View source]
def self.update(id, hash) #

[View source]
def self.update_by_query(hash) #

[View source]
def self.update_by_script(id, hash) #

[View source]
def self.update_doc(id, hash) #

[View source]