Quick question on an SQLite query I'm working on for a C# application:
Can I use a parameter to set the "LIMIT" value in a query? For example I would like to do this:
SQLiteCommand cmd = new SQLiteCommand("SELECT FROM ... WHERE ... LIMIT @items");
cmd.Parameters.Add(new SQLiteParameter("items", numberofItems));
Is this a thing? Or is there an equivalent? I'd like to be able to set the LIMIT value programmatically if I can.
I tried googling this question for a while, but I didn't come up with anything so maybe y'all can help. Thanks a lot!