Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

metasql

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metasql - npm Package Versions

1345

2.0.4

Diff

Changelog

Source

[2.0.4][] - 2022-06-25

  • Allow interval field type
  • Allow falsy values in update
  • Capture relevant error stack trace
  • Add catch function to query execution
  • Make query execution properly then-able
  • Fix undefined use in insert/update/conditions, keys with undefined value will no longer result in null and will just be ignored
  • Fix working with nested schemas for databases
timur.shemsedinov
published 2.0.3 •

timur.shemsedinov
published 2.0.2 •

Changelog

Source

[2.0.2][] - 2021-10-14

  • Support null as value for update
  • Fixed thenable chain in db.select
timur.shemsedinov
published 2.0.1 •

Changelog

Source

[2.0.1][] - 2021-09-10

  • Update dependencies
timur.shemsedinov
published 2.0.0 •

Changelog

Source

[2.0.0][] - 2021-08-19

  • Change plugin interface (wrap plugin to function). This changes in plugins are not backward compatible, so major version will be incremented.
  • Update dependencies
timur.shemsedinov
published 1.5.0 •

Changelog

Source

[1.5.0][] - 2021-08-10

  • Generating SQL Query and Modify method toString()
  • Fix SQL generation for index and unique fields
timur.shemsedinov
published 1.4.0 •

Changelog

Source

[1.4.0][] - 2021-08-09

  • New API methods for Database async count(table, condition): number
  • Added support for functions in select (min, avg, count...)
timur.shemsedinov
published 1.3.0 •

Changelog

Source

[1.3.0][] - 2021-08-07

  • Use options.logger and global console if no options.console for backward compatibility, fallback will be better than crash
  • Add { delete: 'cascade' } to generate ON DELETE CASCADE for { many }
  • Implement .returning(fields) for Query
  • Methods insert, delete and update of Database returns instance of Modify class with chain methods .returning and .then
timur.shemsedinov
published 1.2.0 •

Changelog

Source

[1.2.0][] - 2021-08-04

  • Add typings for Database and Query classes
  • Move types to package root
  • Generated always as identity just for Registry
  • Support DEFAULT CURRENT_TIMESTAMP for datetime
  • Generate SQL for bootstrapping db data
  • Pass Model to Database to access schemas
  • Use common Console interface for logging
  • Generate ids for Registry tables
timur.shemsedinov
published 1.1.5 •

Changelog

Source

[1.1.5][] - 2021-07-04

  • Implement CRUD plugin
  • Save Query to declarative format
  • Create Query from declarative format
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc