Skip to content

Using SqlHydra in a timeseriesDB (Postgres) with a "WHERE builder" (subnet fun with inet types) #76

Answered by JordanMarr
houstonhaynes asked this question in Q&A
Discussion options

You must be logged in to vote

It looks to me like Npgsql.FSharp is the better choice in this case over SqlHydra.

I think SqlHydra is most valuable for basic CRUD queries in large databases with lots of tables and columns to keep track of, thereby eliminating the potential for typos in your many queries. Most of the apps that I work on are composed of 95% of these kinds of CRUD queries.

But for the 5% of highly specialized core domain queries, like this one, I think manually editing the SQL as you are doing is advantageous. The strongly typed bits of SqlHydra will probably just get in the way of what you are trying to do here. Especially considering the fact that you are using specialized Postgres syntax like UNNEST(st…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@houstonhaynes
Comment options

Answer selected by houstonhaynes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants