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

drizzle-orm

Package Overview
Dependencies
Maintainers
2
Versions
926
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drizzle-orm - npm Package Compare versions

Comparing version 0.10.16 to 0.10.17

6

columns/column.d.ts

@@ -31,3 +31,3 @@ import { PgTime, PgTimestamp } from '.';

new (db: DB): ITable;
}, callback: (table: ITable) => AbstractColumn<T, boolean, boolean, TParent>, onConstraint: {
}, callback: (table: ITable) => AbstractColumn<any, boolean, boolean, TParent>, onConstraint: {
onDelete?: 'CASCADE' | 'RESTRICT' | 'SET NULL' | 'SET DEFAULT';

@@ -49,7 +49,7 @@ onUpdate?: 'CASCADE' | 'RESTRICT' | 'SET NULL' | 'SET DEFAULT';

primaryKey(): Column<T, TAutoIncrement extends true ? true : false, TAutoIncrement, TParent>;
foreignKey(table: new (db: DB) => TParent, callback: (table: this) => Column<T, boolean, boolean, TParent>, onConstraint?: {
foreignKey(table: new (db: DB) => TParent, callback: (table: this) => Column<any, boolean, boolean, TParent>, onConstraint?: {
onDelete?: 'CASCADE' | 'RESTRICT' | 'SET NULL' | 'SET DEFAULT';
onUpdate?: 'CASCADE' | 'RESTRICT' | 'SET NULL' | 'SET DEFAULT';
}): Column<T, TNullable, TAutoIncrement, TParent>;
foreignKey<ITable extends AbstractTable<ITable>>(table: new (db: DB) => ITable, callback: (table: ITable) => Column<T, boolean, boolean, ITable>, onConstraint?: {
foreignKey<ITable extends AbstractTable<ITable>>(table: new (db: DB) => ITable, callback: (table: ITable) => Column<any, boolean, boolean, ITable>, onConstraint?: {
onDelete?: 'CASCADE' | 'RESTRICT' | 'SET NULL' | 'SET DEFAULT';

@@ -56,0 +56,0 @@ onUpdate?: 'CASCADE' | 'RESTRICT' | 'SET NULL' | 'SET DEFAULT';

{
"name": "drizzle-orm",
"version": "0.10.16",
"version": "0.10.17",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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