Skip to content

Conversation

@lex009
Copy link
Contributor

@lex009 lex009 commented Mar 26, 2013

...more accurate

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am not sure if that is correct. should those not become real boolean, aka false and true? the jackrabbit backend for example will use the java logic where every string except "true" is false - i would want to keep the boolean type here as well.

@dbu
Copy link
Member

dbu commented Apr 19, 2013

ping

1 similar comment
@dbu
Copy link
Member

dbu commented Jun 7, 2013

ping

@lex009
Copy link
Contributor Author

lex009 commented Jun 8, 2013

I'm sorry for my abscense. Yes it makes sence to return boolean. I decided to return strings in previous pr because in mysql boolean values are stored as '1' or '0'

@lex009
Copy link
Contributor Author

lex009 commented Jun 8, 2013

I've just made a PR to jackalope-doctrine-dbal that depends on this PR. All tests are passed with these two PRs (I tested with mysql and sqlite) except testQueryMultiValuedProperty

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

according to http://php.net/manual/de/function.is-numeric.php php does not accept , as separator even when the locale is different than english. so this seems correct.

dbu added a commit that referenced this pull request Jun 9, 2013
Type of value returned by Sql2ToQomQueryConverter::parseLiteral becomes more accurate
@dbu dbu merged commit 009bd62 into phpcr:master Jun 9, 2013
@dbu
Copy link
Member

dbu commented Jun 9, 2013

thanks a lot. the test failure about multivalue is not related to this PR

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

Successfully merging this pull request may close these issues.

2 participants