-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ExecuteQuery for unknown # of fields #82
Comments
I added the following to my version of SQLite. If anyone has any comments on improvements or gotchas, they are much appreciated. To SQLiteCommand:
|
Sorry if this seems ignorant but I'm new to c#... how would you call this function, currently I am using:
And it only calls this function not yours:
|
Just an update, to work around this I made this function to call your functions:
and call it with
maybe there is a better way to do this? |
This was exactly what I was looking for! Created a new issue #255 before I came across this issue. If you have been using this code without issue for while maybe you could use your post as a pull request to get it into master? |
Why did you close this issue @tofutim ? @praeclarum Can you consider this? Maybe using dynamics? |
Hi @tofutim. Thanks you for the great code |
Is there anyone that can get this into a new NuGet release? |
Yes this does seem like a reasonable feature. I think I would prefer dynamic over dictionary though. |
Should be pretty simple to leverage the ExpandoObject |
@tofutim, I love you, man! Putting the code in a partial SQLiteCommand implementation safely extends the class without the risk of loosing the changes after the sqlite.net module update/reinstall. |
how about this? if no problem, can you add to master branch?
|
with this method if I do complex query is very slow and device crash |
…ary<string,object>)
I have a select query that I need to use a dynamic type with. I am trying |
I have a certain scenario where I generate SQL statements on the fly - the fields inside may vary. Is there anyway I can query for this without building a class ahead of time?
I'm looking for ExecuteQuery() without the .
The text was updated successfully, but these errors were encountered: