Skip to content

Conversation

@matej21
Copy link
Contributor

@matej21 matej21 commented Jul 3, 2013

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

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

You can notice that the keywords should be ordered alphabetically. Fix it please. ;-)

Copy link
Contributor

Choose a reason for hiding this comment

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

Were they? Was "OR" before "NOT"? ;)

Copy link
Contributor

Choose a reason for hiding this comment

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

Well I think that is a typo.

Copy link
Contributor

Choose a reason for hiding this comment

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

It just a coincidence, but RLIKE is redundant, because LIKE is already present (it its suffix).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@hrach: no, it is not redundant:

-- with RLIKE in the list:
WHERE `col` RLIKE 'foo'
-- without:
WHERE `col` RLIKE = 'foo'

Copy link
Contributor

Choose a reason for hiding this comment

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

@hrach: Only if the assertion (?<=\W|^) wasn't there.

Copy link
Contributor

Choose a reason for hiding this comment

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

hmhm, so in that case also xor, etc missing too :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh yes, this commit broken my initial idea. 53813ce

@hrach hrach closed this in 16b097d Jul 22, 2013
dg added a commit that referenced this pull request Jul 22, 2013
Database\Table\SqlBuilder: added suffix test, added missing RLIKE & REGEXP operator [closes #1156]
hrach added a commit that referenced this pull request Jul 24, 2013
hrach added a commit to nette/database that referenced this pull request Mar 18, 2014
@matej21 matej21 deleted the fix/sqlbuilder_regexp branch March 19, 2014 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants