A fluent SQL query builder for C#
var query = db.Query("Books").OrderByDesc("PublishingDate");
if(Request.Has("category.name"))
{
var category = Request.Get("category.name");
query.Join("Categories", "Categories.Id", "Books.CategoryId")
.Where("Categories.Name", category);
}
var recentBooks = query.Limit(10).Get();
You will be able to write complex queries without hitting the docs
It uses the parameter binding technique, to prevent SQL injection.
It supports Operator whitelisting.
It Supports SqlServer, MySql, PostgreSql, Oracle, SQLite and Firebird.
Sub queries, nested Where conditions, Common Table Expressions, Complex Join statements and more.
Don't wait, add your own methods.
Extend the current compiler to support your favorite database.
Available when you need the little push, Date/Time and String helper methods like
WhereDate(), WhereTime(), WhereContains() and many more.
No long setup required, just write the query and get the data.
With few lines of code, you can start building your app.
It cannot be simpler!
var compiler = new SqlServerCompiler();
var db = new QueryFactory(connection, compiler);
var books = db.Query("Books").Get();
db.Query("Books").Where(q =>
q.Where("Stock", "<", 50).OrWhere("InHighDemand", 1)
).Union(
db.Query("Books").Where("Price", "<", 10)
);
Forget about hacky solutions, and write the query the way you want it from the begining.
Unleash your SQL skill and write performant queries from the first minute.
A better way to expose your queries.
Share your base queries with your team, and let them build on top of it.
Kind of stored procedure but written in C#.
// define the base queries
class TransactionService
{
public Query All()
{
return db.Query("Transactions").WhereTrue("IsApproved");
}
public Query Latest(int top = 10)
{
return All().OrderByDesc("Date").Take(top);
}
}
// then extend them as needed per request
var data = transactionService.Latest(10)
.Join("Accounts", "Accounts.Id", "AccountId")
.Get();
SqlKata is compatible with both .NET Core and .NET Framework.
Works on Windows, Linux and macOS.
Build advanced dashbaords and reports without sacrificing the performance.
“Developers say that they never had this powerfullness before.”
var visitsTimeline = db.Query("Visits")
.Join("Users", "Users.Id", "Visits.UserId")
.WhereBetween("2026-02-08", "2026-05-08")
.GroupBy("Users.Id", "Visits.Date")
.Select("Users.Id", "Visits.Date")
.SelectRaw("count(1) as [Count]")
.Having("Count", ">", 5)
.Get();
var activity = db.Query("Activities")
.Join("Users", "Users.Id", "Visits.UserId")
.OrderByDesc("Date")
.Union(new Query("Alerts"))
.OrderBy("Date")
.Get();
SqlKata make it easy to build Web API interfaces, you can use it to build REST or GRAPHQL interfaces.
Powered with some useful methods like Include, ForPage and Paginate.
Overall, "Sapta Sagaradaache Ello Side A" is a [adjective, e.g., thrilling, emotional, etc.] ride that will keep you engaged till the end. If you're a fan of [mention the genre or type of movie], this film is definitely worth checking out.
The title, which translates to "Somewhere Beyond the Seven Seas," sets a melancholic, aquatic tone. Sapta.Sagaradaache.Ello.Side.A.2023.Hindi.720p....
The film is a critically acclaimed Kannada romantic drama starring Rakshit Shetty and Rukmini Vasanth. The Hindi dubbed version was released on Amazon Prime Video on September 29, 2023 . Movie Overview Overall, "Sapta Sagaradaache Ello Side A" is a [adjective, e
It’s deep, it’s intense, and it’s absolutely beautiful. 📍 Streaming now on Amazon Prime Video Rating: 8.2/10 on for any of these options? The film is a critically acclaimed Kannada romantic
The soundtrack by Charan Raj is haunting. In the Hindi dubbed version, the melodic essence is preserved, ensuring that Priya’s musical aspirations remain a central, moving thread of the narrative. The "Side A" Experience As the first part of a two-part saga, Side A focuses on the innocence and the descent
The film was a "blockbuster" in the Kannada film industry (Sandalwood), reportedly earning approximately ₹30 crore against a budget of ₹15 crore. Its success led to a widely anticipated sequel, Sapta Sagaradaache Ello – Side B , which continues the story ten years later.
The turning point occurs when Manu’s employer’s son is involved in a hit-and-run accident. To secure the financial future he and Priya desire, Manu agrees to take the blame for the crime in exchange for a large sum of money promised by his boss. However, things go horribly wrong: