
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
A library for building raw SQL queries more maintainably and with fewer mistakes.
None to be prepared
CommandBuilder.Init()
. Then write your query as your needs..Build()
.Build()
have return of IQueryCommandResult
, which have two properties Script
and Parameters
Script
is raw sql queryParameters
is sets of name and value bind parameters to query.Select(string tableName, string[] columns)
used to construct initial statement as select statement with initial columns to selectSelect(string[] columns)
used to add additional field to select within statementExample
CommandBuilder.Init().Select("category", new string[] { "name", "category_id" }).Build()
This will produce raw query
SELECT name, category_id FROM category
You can construct insert statement and specify sets of column and value to insert to specific table
CommandBuilder.Init().Insert("category", new Dictionary<string, object?>()
{
{ "name", "Karya Ilmiah" }
}).Build();
This will produce raw query
INSERT INTO category(name) VALUES(@name)
And the binding parameters will available in IQueryCommandResult.Parameters
that contains key value pair of @name
dan Karya Ilmiah
FAQs
Unknown package
We found that sqlcommandbuilder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.