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

Support Scope and Collections with Special Chars for Cocuhbase Driver #658

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

babltiga
Copy link
Contributor

@babltiga babltiga commented Jan 8, 2024

Fixed issue with couchbase driver unable to migrate if collection or scope name had special characters

Issue reference

Documentation PR reference

NA

Description and context

The couchbase driver was not working with couchbase v7+ if the bucket, scope or collection name had a special character like '-'. The main fix is in the N1QLQueryProvider.java file, just added an escape for the scope and collection.

Benefits

Couchbase driver can be used with buckets, scope and collections having special characters in their name (like -).

Possible Drawbacks

None

Checklist

@babltiga babltiga requested a review from dieppa as a code owner January 8, 2024 07:00
@osantana85 osantana85 merged commit 9f46be0 into mongock:develop Jan 10, 2024
3 checks passed
@babltiga babltiga deleted the BUGFIX/couchbase-with-special branch January 10, 2024 20:51
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.

None yet

2 participants