Skip to content

Support for secondary index in DB? #125

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

Open
kshitiz1007 opened this issue Jun 30, 2023 · 2 comments
Open

Support for secondary index in DB? #125

kshitiz1007 opened this issue Jun 30, 2023 · 2 comments

Comments

@kshitiz1007
Copy link

Is there a feature of secondary index in Doxense.
If not, is there any plan of creating this feature??

@KrzysFR
Copy link
Member

KrzysFR commented Jun 30, 2023

The database name is FoundationDB, not Doxense => https://www.foundationdb.org/

This repository contains the code that is able to connect to a FoundationDB cluster from C#/.NET code.

All the patterns that you can do with FoundationDB can of course be done as well using this library. There is an example of code that can insert/update/query a secondary index here: https://github.com/Doxense/foundationdb-dotnet-client/blob/master/FoundationDB.Layers.Common/Indexes/FdbIndex%602.cs which is one way to implement secondary indexes as describe here: https://apple.github.io/foundationdb/simple-indexes.html

@kshitiz1007
Copy link
Author

@KrzysFR We are not able to find any documentation around it. Is it possible to send some reference code around this which we can use for creating secondary index.

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