Replies: 1 comment
-
I think for instance ( ToField a ) => HasSqlValueSyntax SqliteValueSyntax a where
sqlValueSyntax f = SqliteValueSyntax . emitValue $ toField f Although, for some reason, my custom type does not become convertible with The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Beam uses sqlite-simple as a backend for SQLite database. I have some instances of classes
ToField
andFromField
for sqlite-simple, which could convert my datatypes to sql field and vice versa.However, it is unclear to me how I should write an instance of kind
Is there a way to define such instances?
Beta Was this translation helpful? Give feedback.
All reactions