 Maslosoft Mangan API
	Maslosoft Mangan API
Class AbstractFinder
AbstractFinder
- Maslosoft\Mangan\Abstracts\AbstractFinder implements Maslosoft\Mangan\Interfaces\FinderInterface, Maslosoft\Mangan\Interfaces\ModelAwareInterface uses Maslosoft\Mangan\Traits\ModelAwareTrait
Direct known subclasses
Indirect known subclasses
Namespace: Maslosoft\Mangan\Abstracts
Author: Piotr Maselkowski
Located at Abstracts/AbstractFinder.php
Methods summary
| 
				abstract public 
				 | |
| 
				abstract public 
				 | |
| 
				abstract public 
				 | |
| 
				abstract public 
				 | |
| 
				abstract public 
				 | |
| 
				abstract public 
				 | |
| 
				abstract public 
				 | |
| 
				abstract public 
				 | |
| 
				 public 
				Maslosoft\Addendum\Interfaces\AnnotatedInterface
				
				 | 
			#
			 find( array|Finds a single Document with the specified condition. | 
| 
				 public 
				Maslosoft\Addendum\Interfaces\AnnotatedInterface|null
				
				 | 
			#
			 findByPk( mixed $pkValue, array|Finds document with the specified primary key. Primary key by default
is defined by  | 
| 
				 public 
				Maslosoft\Addendum\Interfaces\AnnotatedInterface|null
				
				 | 
			#
			 findByAttributes( array $attributes )Finds document with the specified attributes. Attributes should be specified as key-value pairs. This allows easier syntax for simple queries. | 
| 
				 public 
				Maslosoft\Addendum\Interfaces\AnnotatedInterface| | 
			#
			 findAll( array|Finds all documents satisfying the specified condition.
See  | 
| 
				 public 
				Maslosoft\Addendum\Interfaces\AnnotatedInterface| | |
| 
				 public 
				Maslosoft\Addendum\Interfaces\AnnotatedInterface| | 
			#
			 findAllByPk( mixed $pkValues, array|Finds all documents with the specified primary keys.
In MongoDB world every document has '_id' unique field, so with this method that
field is in use as PK by default.
See  | 
| 
				 public 
				integer
				
				 | 
			#
			 count( array|Counts all documents satisfying the specified condition.
See  | 
| 
				 public 
				integer
				
				 | |
| 
				 public 
				boolean
				
				 | 
			#
			 exists( Checks whether there is document satisfying the specified condition. | 
| 
				 public 
				 | |
| 
				 public 
				 | |
| 
				 public 
				
				
				 | 
Methods inherited from Maslosoft\Mangan\Interfaces\ModelAwareInterface
Methods used from Maslosoft\Mangan\Traits\ModelAwareTrait
Constants summary
Constants inherited from Maslosoft\Mangan\Interfaces\FinderInterface
				EventAfterCount, 
				EventAfterExists, 
				EventAfterFind, 
				EventBeforeCount, 
				EventBeforeExists, 
				EventBeforeFind
			
