src/Fw/Model/Query.php
function get_by($field, $value)
	{
		$q = \Fw\Db::prepare("select * from " . $this->_table . " where " . $field . "=?");
		$q->execute(array($value));
		return $q->fetchAll(\PDO::FETCH_CLASS, $this->_entity);
	}
function get_by($field, $value)
	{
		$q = \Fw\Db::prepare("select * from " . $this->_table . " where " . $field . "=?");
		$q->execute(array($value));
		return $q->fetchAll(\PDO::FETCH_CLASS, $this->_entity);
	}
function get_by ( $ field , $ value ) { $ q = \ Fw \ Db :: prepare ( "select * from " . $ this -> _table . " where " . $ field . "=?" ) ; $ q -> execute ( array ( $ value ) ) ; return $ q -> fetchAll ( \ PDO :: FETCH_CLASS , $ this -> _entity ) ; }
Get by Arbitary Field

@param $field
@param $value
@return mixed
Get by Arbitary Field