* If True, sourceSet and targetSet have an _iversion column, otherwise that column will be ignored
* (or only HEAD will be inserted into targetSet).
TODO description of sourceSet and targetSet is insufficient!
*/
CREATEPROCEDUREdb_5_0.applyPOV(insourceSetVARCHAR(255),/* (?) Name of the table that the POV will be applied to. This can be a temporary table. */
intargetSetVARCHAR(255),/* (?) Name of the result table of this POV. */
CREATEPROCEDUREdb_5_0.applyPOV(insourceSetVARCHAR(255),/* Name of the table that the POV will be applied to. This can be a temporary table or the `entities` table */
intargetSetVARCHAR(255),/* Name of the result table of this POV. After the filter has been applied this table only contains matching
entity ids. This may be NULL or same as sourceSet. In that case the filter is applied in-place (delete non-matching). Otherwise the filter is applied by copying only the matching ids from the *source* set to the *target* set. */
inpropertiesTableVARCHAR(255),
inrefIdsTableVARCHAR(255),/* (?) Name of a tmp table that contains all ids of children of the value interpreted as entity */
inrefIdsTableVARCHAR(255),/* Name of a tmp table that contains all ids of children of the value interpreted as entity name or id */
inoCHAR(4),/* The operator for this operation. can be one of:
0 check for "equals NULL"
!0 check for "not NULL"
-> check whether a reference exists
( (?) check for datetime intervals
!( (?) check for being outside of datetime intervals
other operators (all SQL operators (?))
( check for datetime interval (say "in")
!( check for being outside of datetime intervals (say "not in")
other operators (all valid SQL operators)
these other operators can be used either with or without an aggregation
to use an aggregation set agg to non-zero
all SQL aggregations can be used
*/
invTextVARCHAR(255),/* (?) the text value to be checked against using operator o */
invTextVARCHAR(255),/* the text value to be checked against using operator o */
invIntINT,/* the integer value to be checked against using operator o */
invDoubleDOUBLE,/* the double value to be checked against using operator o */
inunit_sigBIGINT,
inunit_sigBIGINT,/* signatur of the unit given by the user. used when we need to convert units. */
invDoubleStdUnitDOUBLE,/* The numeric value, converted according to the unit rules. */
instdUnit_sigBIGINT,
instdUnit_sigBIGINT,/* signatur of the normalized/standardized unit, e.g when unit_sig is "km/h" this might be "m/s". */
invDateTimeVARCHAR(255),
invDateTimeDotNotationVARCHAR(255),
inaggCHAR(3),/* an SQL aggregate function or NULL when no aggregation should be used */