Class: Cuprum::Collections::Basic::Commands::FindOne

Inherits:
Cuprum::Collections::Basic::Command show all
Includes:
Commands::AbstractFindOne
Defined in:
lib/cuprum/collections/basic/commands/find_one.rb

Overview

Command for finding one collection item by primary key.

Instance Attribute Summary

Attributes inherited from CollectionCommand

#collection

Method Summary

Methods included from Commands::AbstractFindOne

#call

Methods inherited from Cuprum::Collections::Basic::Command

#data, #default_contract

Methods inherited from CollectionCommand

#initialize, #name, #primary_key_name, #primary_key_type, #query, #singular_name

Constructor Details

This class inherits a constructor from Cuprum::Collections::CollectionCommand