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 for database parameter? #5

Open
jimrobinson opened this issue Dec 5, 2018 · 1 comment
Open

Support for database parameter? #5

jimrobinson opened this issue Dec 5, 2018 · 1 comment

Comments

@jimrobinson
Copy link

Hopefully I'm not missing it, but it appears as though this library doesn't support the 'database' parameter. The documentation from MarkLogic seems to indicate the use is supported, though perhaps not encouraged:

From https://docs.marklogic.com/guide/rest-dev/intro#id_90072 I see: "Each REST API instance has a default content database associated with. You specify this database when you create the instance, and it cannot be changed subsequently. However, many REST Client API methods support a database parameter with which you can select a different content database on a per request basis."

@ryanjdew
Copy link
Owner

ryanjdew commented Dec 5, 2018

The REST API does often support the database parameter for many cases. This is more of a side project that I haven't worked on for a little while and would like to get back to.

Passing the database parameter as part of the client creation would be a good enhancement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants