You can get a count using count() : nrows = query.count(). To get only the first result, use first() . This is most useful in combination with order_by() .
確定! 回上一頁