diff --git a/lib/system b/lib/system index 90ce83b..dc79bc9 160000 --- a/lib/system +++ b/lib/system @@ -1 +1 @@ -Subproject commit 90ce83ba36c6081b1395b555575260cb13358693 +Subproject commit dc79bc9aeb026f90c4a3a16838c360026871f5ec diff --git a/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GENERATE_ELEMENTLIST.php b/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GENERATE_ELEMENTLIST.php index c54e6e2..4118301 100644 --- a/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GENERATE_ELEMENTLIST.php +++ b/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GENERATE_ELEMENTLIST.php @@ -2,10 +2,8 @@ namespace DBD; class NEOPOLIMATRIX_GENERATE_ELEMENTLIST extends \SYSTEM\DB\QP { - protected static function query(){ - return new \SYSTEM\DB\QQuery(get_class(), -//pg -'', -//mys -'SELECT * FROM system_locale_string LEFT JOIN system_locale_string_tag_strings ON (system_locale_string.id = system_locale_string_tag_strings.id) WHERE tag_string like ? ORDER by timestamp DESC;' -);}} \ No newline at end of file + public static function get_class(){return \get_class();} + public static function mysql(){return +'SELECT * FROM system_locale_string LEFT JOIN system_locale_string_tag_strings ON (system_locale_string.id = system_locale_string_tag_strings.id) WHERE tag_string like ? ORDER by timestamp DESC;'; + } +} \ No newline at end of file diff --git a/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GENERATE_ELEMENTLIST_FULLTEXT_SEARCH.php b/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GENERATE_ELEMENTLIST_FULLTEXT_SEARCH.php index b2c36d9..b771025 100644 --- a/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GENERATE_ELEMENTLIST_FULLTEXT_SEARCH.php +++ b/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GENERATE_ELEMENTLIST_FULLTEXT_SEARCH.php @@ -2,12 +2,10 @@ namespace DBD; class NEOPOLIMATRIX_GENERATE_ELEMENTLIST_FULLTEXT_SEARCH extends \SYSTEM\DB\QP { - protected static function query(){ - return new \SYSTEM\DB\QQuery(get_class(), -//pg -'', -//mys + public static function get_class(){return \get_class();} + public static function mysql(){return 'SELECT * FROM system_locale_string'. ' LEFT JOIN system_locale_string_tag_strings ON (system_locale_string.id = system_locale_string_tag_strings.id)'. -' WHERE deDE like ? OR system_locale_string.id like ?;' -);}} \ No newline at end of file +' WHERE deDE like ? OR system_locale_string.id like ?;'; + } +} \ No newline at end of file diff --git a/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GET_TEXT.php b/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GET_TEXT.php index 801c824..e608b83 100644 --- a/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GET_TEXT.php +++ b/neopolimatrix/dbd/qq/NEOPOLIMATRIX_GET_TEXT.php @@ -2,10 +2,8 @@ namespace DBD; class NEOPOLIMATRIX_GET_TEXT extends \SYSTEM\DB\QP { - protected static function query(){ - return new \SYSTEM\DB\QQuery(get_class(), -//pg -'', -//mys -'SELECT * FROM system_locale_string LEFT JOIN system_locale_string_tag_strings ON (system_locale_string.id = system_locale_string_tag_strings.id) WHERE tag_id = ?;' -);}} \ No newline at end of file + public static function get_class(){return \get_class();} + public static function mysql(){return +'SELECT * FROM system_locale_string LEFT JOIN system_locale_string_tag_strings ON (system_locale_string.id = system_locale_string_tag_strings.id) WHERE tag_id = ?;'; + } +} \ No newline at end of file