Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more Column comparison functions #54

Closed
Meosit opened this issue Sep 8, 2020 · 1 comment
Closed

Add more Column comparison functions #54

Meosit opened this issue Sep 8, 2020 · 1 comment
Labels

Comments

@Meosit
Copy link

Meosit commented Sep 8, 2020

Currently the many of the existing Column handy functions/operators are missing in the Kotlin API, this issue is to fulfill the gap. Here is the list of functions which can be added to the API

Infix textual functions:

  • infix fun Column.neq(c: Column): Column
  • infix fun Column.geq(c: Column): Column
  • infix fun Column.leq(c: Column): Column
  • infix fun Column.le(c: Column): Column
  • infix fun Column.ge(c: Column): Column
    Also need to add infix keyword to the existing fun Column.eq(c: Column): Column function

Infix char-based functions:

  • infix fun Column.`>=`(c: Column): Column
  • infix fun Column.`<=`(c: Column): Column
  • infix fun Column.`>`(c: Column): Column
  • infix fun Column.`<`(c: Column): Column
  • infix fun Column.`!=`(c: Column): Column
  • infix fun Column.`||`(c: Column): Column

Also some of the functions can be implemented via Kotlin operator functions such as compareTo/multiply/divide/plus/minus, but this needs to be double-checked

@lpicanco
Copy link

Can I get this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants