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

insert #2

Open
tolysz opened this issue Jan 10, 2015 · 0 comments
Open

insert #2

tolysz opened this issue Jan 10, 2015 · 0 comments

Comments

@tolysz
Copy link
Owner

tolysz commented Jan 10, 2015

Works

let
   s = "test string scoped"
in $(genTypedQuery [qq|
 INSERT INTO 
     test ( str -- String -- < s
          )
|] )

Do not work

let
   s = "test string scoped" :: String
in $(genTypedQuery [qq|
 INSERT INTO 
     test ( str -- < s
          )
|] )

More sensitive parser

first gives:

[TAInsIS "s"]
[]
[TACast "String "]

second:

[TAInsIS "s"]
[]
[]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant