public function limit($limit = 0)
	{
		if (is_null($this->limit))
		{
			$this->limit = new QueryElement('LIMIT', (int) $limit);
		}

		return $this;
	}
public function limit($limit = 0)
	{
		if (is_null($this->limit))
		{
			$this->limit = new QueryElement('LIMIT', (int) $limit);
		}

		return $this;
	}
public function limit ( $ limit = 0 ) { if ( is_null ( $ this -> limit ) ) { $ this -> limit = new QueryElement ( 'LIMIT' , ( int ) $ limit ) ; } return $ this ; }
Set the LIMIT clause to the query

@param   integer  $limit  Number of rows to return

@return  PostgresqlQuery  Returns this object to allow chaining.

@since   1.0
Set the LIMIT clause to the query