
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@jakub.knejzlik/ts-query
Advanced tools
TypeScript implementation of an SQL builder. It provides a fluent API to build SQL queries in a type-safe manner.
Install the package using npm:
npm add @jakub.knejzlik/ts-query
Import the necessary classes and functions from the package:
import { Q } from "@jakub.knejzlik/ts-query";
Create an instance of the Query class and use its methods to build your SQL query:
const query = new Query();
Q.select().from("users");
console.log(query.toSQL(Q.flavors.mysql));
For more detailed usage instructions and API documentation, visit the Github pages.
Run the test suite using the test
script:
npm run test
Contributions are welcome. Please submit a pull request or create an issue on the Github repository.
This project is licensed under the MIT License.
FAQs
TypeScript implementation of SQL builder
The npm package @jakub.knejzlik/ts-query receives a total of 7,923 weekly downloads. As such, @jakub.knejzlik/ts-query popularity was classified as popular.
We found that @jakub.knejzlik/ts-query demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.