You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Different backends often support unique features that'd be nice to have. (#47, #31, #61, possibly others.) However, we don't want other backends to blow up when encountering those features.
One possible solution to this dilemma would be to parameterise the Query monad over the backend, giving all the common functionality the type Query a, PostgreSQL-specific features Query PG, etc. This way, we're not tied down to the lowest common denominator features, but can still generate nicely portable code safely.
The text was updated successfully, but these errors were encountered:
Different backends often support unique features that'd be nice to have. (#47, #31, #61, possibly others.) However, we don't want other backends to blow up when encountering those features.
One possible solution to this dilemma would be to parameterise the
Query
monad over the backend, giving all the common functionality the typeQuery a
, PostgreSQL-specific featuresQuery PG
, etc. This way, we're not tied down to the lowest common denominator features, but can still generate nicely portable code safely.The text was updated successfully, but these errors were encountered: