Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (Store $store) | |
findConstraintErrors (DIWikiPage $subject) | |
GNU GPL v2+
SMW\Constraint\ConstraintErrorFinder::findConstraintErrors | ( | DIWikiPage | $subject | ) |
DIWikiPage | $subject |
This method avoids access to Store::getSemanticData
in order to optimize the query and produce something like:
SELECT t0.o_id AS v0, t4.o_hash AS v2, t4.o_blob AS v3 FROM smw_di_wikipage
AS t0 INNER JOIN smw_object_ids
AS p ON p_id=t1.smw_id INNER JOIN smw_object_ids
AS t2 ON o_id=t2.smw_id INNER JOIN smw_di_blob
AS t3 ON t3.s_id=t2.smw_id INNER JOIN smw_di_blob
AS t4 ON t4.s_id=t2.smw_id WHERE (t0.s_id='660') AND (t0.p_id='511') AND (t1.smw_iw!=':smw') AND (t1.smw_iw!=':smw-delete') AND (t3.p_id='3354') AND (t3.o_hash='constraint') AND (t4.p_id='515')