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

linq to sql for javascript. #67

Open
zy-zero opened this issue Sep 26, 2019 · 5 comments
Open

linq to sql for javascript. #67

zy-zero opened this issue Sep 26, 2019 · 5 comments

Comments

@zy-zero
Copy link

zy-zero commented Sep 26, 2019

About the linq .js. Do you have some plans to develop linq to sql for javascript like C# linq to sql?

@mihaifm
Copy link
Owner

mihaifm commented Sep 26, 2019

Hi

Thanks for the suggestion. Unfortunatelly the changes required for this are not trivial, so there's no plans from my side.

However I'm open to pull requests, even if they add only a subset of the functionality.

@M0ns1gn0r
Copy link
Collaborator

IMO even if someone wants to add this functionality, it should not be part of this project. It's kind of completely unrelated.

@juancri
Copy link

juancri commented Jan 18, 2021

One problem with this implementation is that LINQ to objects and LINQ to SQL, even when they use the same syntax, are implemented in a different way.

While LINQ to objects is being transformed to a chain of Enumerable metrods, LINQ to SQL compiles as an expression that can be verified at compile time and translated to SQL at runtime.

@zy-zero
Copy link
Author

zy-zero commented Jan 18, 2021

Yes, that is difficult to implement.

@markusjohnsson
Copy link

Hey. Old issue.. but I did some work on this even longer ago. In 2016. You can find it here: https://github.com/markusjohnsson/miniscule

I have no intentions of maintaining it and I don't remember a lot of it. And I take no responsibility for any SQL injection stuff. But check it out if you are interested.

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

5 participants