array filterQueryResult(
object ADORecordSet
&$recordSet)
|
|
Filter tuples containing variables matching all patterns from the WHERE clause of an RDQL query. As a result of a database query using ADOdb these tuples are returned as an ADORecordSet object, which is then passed to this function.
Parameters:
string _generateSql_SelectVar(
&$index, 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.
Parameters: