/** * <p>Select COUNT(property)</p> * <p>Can return different result than COUNT(*) as it will count only non null values</p> * @see ObjectSelect#count() * @see ObjectSelect#column(Property) */ public ColumnSelect<Long> count(Property<?> property) { return column(property.count()); }
/** * <p>Select COUNT(property)</p> * <p>Can return different result than COUNT(*) as it will count only non null values</p> * @see ColumnSelect#count() */ public ColumnSelect<Object[]> count(Property<?> property) { return columns(property.count()); }