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

needed more basic and advacned features #98

Open
salva-imm opened this issue Jan 8, 2021 · 5 comments
Open

needed more basic and advacned features #98

salva-imm opened this issue Jan 8, 2021 · 5 comments
Labels
enhancement New feature or request Hacktoberfest

Comments

@salva-imm
Copy link

  1. VARCHAR/CHAR with length support
  2. exist
  3. count
  4. maybe some db specific features?(like HStore/JsonField for postgres)
  5. filitering for numeric types (greater/smaller equals)
  6. some basic aggregations/annotations
@moigagoo
Copy link
Owner

@salva-imm

 VARCHAR/CHAR with length support

I'm doing this right now in a separate branch. The way I see it, there will be types StringOfCap[n] and PaddedStringOfCap[n] that will correspond to VARCHAR and CHAR in Postgres and TEXT in SQLite.

How do you find this solution?

 filitering for numeric types (greater/smaller equals)

You can do that with db.select(objs, "field > $1", value).

some basic aggregations/annotations

What do you mean by that?

@moigagoo
Copy link
Owner

VARCHAR/CHAR with length support

Should be addressed in #101

@moigagoo
Copy link
Owner

maybe some db specific features?(like HStore/JsonField for postgres)

Duplicates #24

@salva-imm
Copy link
Author

salva-imm commented Jan 31, 2021

What do you mean by that?

@moigagoo
please take a look at this https://swcarpentry.github.io/sql-novice-survey/06-agg/index.html
somethings like calling min / max / avg in database layer

@moigagoo
Copy link
Owner

moigagoo commented Apr 8, 2021

Count added in 2.3.0.

@moigagoo moigagoo added enhancement New feature or request Hacktoberfest labels Oct 4, 2021
@moigagoo moigagoo added this to Norm Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest
Projects
Status: No status
Development

No branches or pull requests

2 participants