Socket
Socket
Sign inDemoInstall

typed-orm

Package Overview
Dependencies
21
Maintainers
1
Versions
327
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-orm

A structurally-typed MySQL query-builder/ORM


Version published
Maintainers
1
Weekly downloads
333
increased by1652.63%

Weekly downloads

Readme

Source

typed-orm

An experiment in structurally-safe MySQL query building using TypeScript.


DEPRECATION NOTICE

This project is fully functional but should not be used anymore.

Instead, look at,

  • @squill/squill
  • @squill/mysql-5.7
  • @squill/sqlite3-browser

Documentation

Documentation may be found here


Examples

Examples may be found in test/compile-time, test/run-time, test/execution.

Current code coverage is about 74%

Gotcha's

  • Using .whereEq("test") may return a row with "TEST" if the collation is case-insensitive. TODO Double check if it narrows the column type to "test" or leaves it as string. It should not narrow to "test"

FAQs

Last updated on 23 Jul 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc