src/WSClient.php
public function runQuery($query)
    {
        // Make sure the query ends with ;
        $query = (strripos($query, ';') != strlen($query) - 1)
            ? trim($query .= ';')
            : trim($query);

        return $this->invokeOperation('query', [ 'query' => $query ], 'GET');
    }
public function runQuery($query)
    {
        // Make sure the query ends with ;
        $query = (strripos($query, ';') != strlen($query) - 1)
            ? trim($query .= ';')
            : trim($query);

        return $this->invokeOperation('query', [ 'query' => $query ], 'GET');
    }
public function runQuery ( $ query ) { // Make sure the query ends with ; $ query = ( strripos ( $ query , ';' ) != strlen ( $ query ) - 1 ) ? trim ( $ query .= ';' ) : trim ( $ query ) ; return $ this -> invokeOperation ( 'query' , [ 'query' => $ query ] , 'GET' ) ; }
VTiger provides a simple query language for fetching data.
This language is quite similar to select queries in SQL.
There are limitations, the queries work on a single Module,
embedded queries are not supported, and does not support joins.
But this is still a powerful way of getting data from Vtiger.
Query always limits its output to 100 records,
Client application can use limit operator to get different records.
@access public
@param  string $query SQL-like expression
@return array  Query results
VTiger provides a simple query language for fetching data . This language is quite similar to select queries in SQL . There are limitations the queries work on a single Module embedded queries are not supported and does not support joins . But this is still a powerful way of getting data from Vtiger . Query always limits its output to 100 records Client application can use limit operator to get different records .