PHP | string _generateSql_SelectVar(string $varName) |
---|
Generate a piece of an sql select statement for a variable. Look first if the given variable is defined as a pattern object. (So you can select the node type, literal lang and dtype) If not found - look for subjects and select node label and type. If there is no result either go to predicates. Predicates are always resources therefore select only the node label.
Arguments
PHP | string generateSql_WhereClause(integer $modelID) |
---|
Generate an SQL WHERE clause
Arguments
PHP | array queryModel(unknown $dbModel, unknown $parsedQuery, boolean $returnNodes) |
---|
Perform an RDQL Query on the given DbModel.
Arguments
Return
[][?VARNAME] = object Node (if $returnNodes = TRUE) OR array [][?VARNAME] = string