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

How to save one key with multiple values? #65

Closed
smartaquarius10 opened this issue Nov 24, 2020 · 1 comment
Closed

How to save one key with multiple values? #65

smartaquarius10 opened this issue Nov 24, 2020 · 1 comment

Comments

@smartaquarius10
Copy link

Hello,

I have an XML of this structure and I want to transfer its data to Bunt DB

<MonitoringApps>
    <VD Id="XYZ">
        <ClientId>123456789</ClientId>
        <ClientSecret>0987654321</ClientSecret>
    </VD>
</MonitoringApps>

As it is shown per VD id we have one client id and one secret. Is there any way to save the VD id as key and others as 2 values of it in the DB.

@tidwall
Copy link
Owner

tidwall commented Nov 28, 2020

I added searching and indexed of JSON documents, but I didn't write anything for XML. BuntDB will accept whatever you give it, but you'll have to write your own XML indexing functions.

@tidwall tidwall closed this as completed Dec 31, 2020
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

No branches or pull requests

2 participants