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

Added class which parses UPDATE queries #68

Merged
merged 1 commit into from Jul 19, 2014
Merged

Added class which parses UPDATE queries #68

merged 1 commit into from Jul 19, 2014

Conversation

dantleech
Copy link
Member

Adds support for UPDATE queries, e.g.

UPDATE [nt:foobar] AS a SET a.title = 'foobar' WHERE a.title = 'barfoo';

It basically extends the SELECT parser, replacing SELECT with UPDATE and adding support for SET.

@dantleech
Copy link
Member Author

use Symfony\Component\Console\Output\OutputInterface;
use PHPCR\Shell\Query\UpdateParser;

class QueryUpdateCommand extends Command
Copy link
Member Author

Choose a reason for hiding this comment

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

Missing docblock

- Added support for UPDATE queries
dantleech added a commit that referenced this pull request Jul 19, 2014
Added class which parses UPDATE queries
@dantleech dantleech merged commit a0808ce into master Jul 19, 2014
@dantleech dantleech deleted the update_parser branch July 19, 2014 06:17
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.

None yet

1 participant