and that one
This commit is contained in:
parent
283b038c5b
commit
e8894444f3
13
uVote/dbd/qq/UVOTE_ACCORD_WITH_FRACTION.php
Normal file
13
uVote/dbd/qq/UVOTE_ACCORD_WITH_FRACTION.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
namespace DBD;
|
||||
class UVOTE_ACCORD_WITH_FRACTION extends \SYSTEM\DB\QP {
|
||||
protected static function query(){
|
||||
return new \SYSTEM\DB\QQuery(get_class(),
|
||||
//pg
|
||||
'',
|
||||
//mys
|
||||
'SELECT uvote_votes.*
|
||||
FROM uvote_votes
|
||||
WHERE ID IN (SELECT poll_ID FROM uvote_votes_per_party WHERE party = ?
|
||||
AND choice = ?);'
|
||||
);}}
|
||||
Loading…
x
Reference in New Issue
Block a user