From: Justin B. <jgb...@gm...> - 2010-11-29 17:08:37
|
I would recommend using HaskellDB to generate SQL which you then feed to HDBC. You still get type-safe queries but you don't have to be tied to HaskellDB's interface to HDBC. You will probably find yourself fighting the expression operators which expect strings (`like' in particular) but you can work around that with the `coerce` operator. 2010/11/29 Paul Graphov <gr...@gm...>: > I'am kinda novice in Haskell... > BTW, As I think it is desirable to make type conversion completely supplied > by driver > so that haskelldb itself will not depend on ByteString or anything else but > if I use HDBC > driver, I will be able to use full range of types convertible to HDBC's > SqlValue. > Now I have no ideas how to implement it. I'll think about it. :) > On 29 November 2010 19:31, Justin Bailey <jgb...@gm...> wrote: >> >> No, but I would welcome any patches :) >> >> >> 2010/11/28 Paul Graphov <gr...@gm...>: >> > Hello Haskelldb users! >> > Are there any plans to make Haskelldb able to operate with ByteStrings? >> > Thanks. >> > >> > ------------------------------------------------------------------------------ >> > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! >> > Tap into the largest installed PC base & get more eyes on your game by >> > optimizing for Intel(R) Graphics Technology. Get started today with the >> > Intel(R) Software Partner Program. Five $500 cash prizes are up for >> > grabs. >> > http://p.sf.net/sfu/intelisp-dev2dev >> > _______________________________________________ >> > Haskelldb-users mailing list >> > Has...@li... >> > https://lists.sourceforge.net/lists/listinfo/haskelldb-users >> > >> > > > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > Haskelldb-users mailing list > Has...@li... > https://lists.sourceforge.net/lists/listinfo/haskelldb-users > > |