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.
: Use the Massy Stores Online Platform to find specific arrival dates for seasonal imports.
The keyword appears to refer to a specific retail or logistics event, likely involving the Massy retail group (a major player in the Caribbean) and potentially related to a "Sweet Spanish" product line or promotion scheduled for or around January 16, 2024.
: Utilizing professional pick-up services gives hours back to the consumer, which can then be spent on leisure or entertainment. Swhores 24 01 16 Massy Sweet Spanish Pick Up Gi...
: Entertainment and lifestyle benefits often include early access to specialty "Sweet Spanish" batches for cardholders.
: Modern lifestyle apps allow users to track specific shipments (hence the detailed code like Ss 24 01 16 ) to ensure they get the freshest stock the moment it arrives. Practical Tips for Premium Pick-Ups : Use the Massy Stores Online Platform to
: The "Pick Up" (or Click & Collect) model has become a staple of efficient living. It allows busy professionals to balance a high-paced life with the desire for fresh, premium ingredients that traditionally required hours of browsing. Why "Sweet Spanish" and Gourmet Imports Matter
: Coordinate your "Pick Up" day with social gatherings to ensure your ingredients are at their peak flavor. : Entertainment and lifestyle benefits often include early
In the modern lifestyle landscape, the act of "picking up" groceries or specialty items has shifted from a chore to a form of entertainment. Brands like Massy Stores have pioneered this by integrating convenience with high-quality, international flavors—such as "Sweet Spanish" produce or specialty imports.
While the exact string is highly specific, it fits into a broader trend of where grocery shopping and gourmet food "pick-ups" have evolved into curated experiences. The Evolution of Curated Pick-Ups
: Lifestyle-conscious consumers prioritize origin and sweetness in produce, opting for non-pungent varieties that can be eaten raw in salads or lightly grilled. Lifestyle Integration: Efficiency Meets Luxury