mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
add seen card count back for plugins
This commit is contained in:
parent
d56bddea2d
commit
329ab99ff7
1 changed files with 4 additions and 0 deletions
|
@ -1343,6 +1343,10 @@ combinedDue > :now and due < :now""", now=time.time())
|
||||||
return self.s.scalar(
|
return self.s.scalar(
|
||||||
"select count(id) from cards where relativeDelay = 2")
|
"select count(id) from cards where relativeDelay = 2")
|
||||||
|
|
||||||
|
def seenCardCount(self):
|
||||||
|
return self.s.scalar(
|
||||||
|
"select count(id) from cards where relativeDelay between 0 and 1")
|
||||||
|
|
||||||
# Card predicates
|
# Card predicates
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue