(self)
return count
Return the number of connections for this period
Return the number of connections for this period
Return the number of connections for this period
def nbConnections(self):
        """Return the number of connections for this period"""
        condition = "unixtime > '{}%'".format(self.periodFilter)
        cursor = self.conn.execute("select count(*) from connections where {}"
                                   .format(condition))
        count = cursor.fetchone()[0]
        return count
def nbConnections ( self ) : condition = "unixtime > '{}%'" . format ( self . periodFilter ) cursor = self . conn . execute ( "select count(*) from connections where {}" . format ( condition ) ) count = cursor . fetchone ( ) [ 0 ] return count