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

Question: Effort and places to support other databases #566

Open
surfmuggle opened this issue Jan 31, 2025 · 0 comments
Open

Question: Effort and places to support other databases #566

surfmuggle opened this issue Jan 31, 2025 · 0 comments

Comments

@surfmuggle
Copy link

surfmuggle commented Jan 31, 2025

In 2021 postgresql support (69) was suggested and it was decided to not support it. In 2022 support for LiteDB was added and in 2023 the DbProviders Logic was separated in a standalone project.

I wonder from a technical standpoint if the refactoring of the DbProviders has the positive effect that the effort to implement a Provider for PostgreSQL or SQLite / libsql-server is reduced?

I assume that RegisterDataLayer is the place to start looking. And that one would have to create an implementation for the IRepository and the IDatabaseContext Interface?

  • Are there other places / classes / interface to take care of?
  • Can this be done without huge effort or is there a fundamental clash of philosophies (plain-sql vs non-sql)?

Thanks

Edit
I just stumbled over YesSql.

YesSql is a .NET Core document database interface over relational databases which allows you to define documents and indexes using plain old CLR objects. The main difference with document databases is that it uses any RDBMS to store them, which gives you all the power of SQL databases like transactions, replication, reporting, ... But the main advantage might be that there is no magic involved, it's pure SQL!

I have never tried YesSql but wonder if used as a proxy between GrandNode2 Repository Layer and a relational database would make it easier to support relational databases.

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

1 participant