• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

torand / FasterSQL / 13591799490

28 Feb 2025 03:59PM UTC coverage: 65.237% (-1.3%) from 66.563%
13591799490

push

github

web-flow
Merge pull request #14 from torand/having-support

feat: supporting the HAVING clause + IS NULL operator now supports an…

214 of 408 branches covered (52.45%)

Branch coverage included in aggregate %.

273 of 389 new or added lines in 69 files covered. (70.18%)

3 existing lines in 3 files now uncovered.

1079 of 1574 relevant lines covered (68.55%)

3.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

40.0
/src/main/java/io/github/torand/fastersql/order/OrderExpression.java
1
package io.github.torand.fastersql.order;
2

3
import io.github.torand.fastersql.Sql;
4

5
/**
6
 * Represents an expression to define the ordering of rows from a query.
7
 */
8
public interface OrderExpression extends Sql {
9

10
    default Order asc() {
11
        return Orders.asc(this);
3✔
12
    }
13

14
    default Order desc() {
15
        return Orders.desc(this);
3✔
16
    }
17

18
    default Order ascIf(boolean condition) {
NEW
19
        return condition ? asc() : desc();
×
20
    }
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc