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

drizzle-orm

Package Overview
Dependencies
Maintainers
4
Versions
977
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.38.0 to 0.38.1-d379dcf

2

mysql-core/query-builders/update.d.ts

@@ -22,3 +22,3 @@ import type { GetColumnData } from "../../column.js";

export type MySqlUpdateSetSource<TTable extends MySqlTable> = {
[Key in keyof TTable['$inferInsert']]?: GetColumnData<TTable['_']['columns'][Key], 'query'> | SQL;
[Key in keyof TTable['$inferInsert']]?: GetColumnData<TTable['_']['columns'][Key], 'query'> | SQL | undefined;
} & {};

@@ -25,0 +25,0 @@ export declare class MySqlUpdateBuilder<TTable extends MySqlTable, TQueryResult extends MySqlQueryResultHKT, TPreparedQueryHKT extends PreparedQueryHKTBase> {

@@ -26,3 +26,3 @@ import type { GetColumnData } from "../../column.js";

export type PgUpdateSetSource<TTable extends PgTable> = {
[Key in keyof TTable['$inferInsert']]?: GetColumnData<TTable['_']['columns'][Key]> | SQL | PgColumn;
[Key in keyof TTable['$inferInsert']]?: GetColumnData<TTable['_']['columns'][Key]> | SQL | PgColumn | undefined;
} & {};

@@ -29,0 +29,0 @@ export declare class PgUpdateBuilder<TTable extends PgTable, TQueryResult extends PgQueryResultHKT> {

@@ -105,6 +105,6 @@ import { type AnyTable, type InferModelFromColumns, Table } from "./table.js";

[K in keyof TTableConfig['columns']]?: boolean;
};
} | undefined;
with?: {
[K in keyof TTableConfig['relations']]?: true | DBQueryConfig<TTableConfig['relations'][K] extends One ? 'one' : 'many', false, TSchema, FindTableByDBName<TSchema, TTableConfig['relations'][K]['referencedTableName']>>;
};
[K in keyof TTableConfig['relations']]?: true | DBQueryConfig<TTableConfig['relations'][K] extends One ? 'one' : 'many', false, TSchema, FindTableByDBName<TSchema, TTableConfig['relations'][K]['referencedTableName']>> | undefined;
} | undefined;
extras?: Record<string, SQL.Aliased> | ((fields: Simplify<[

@@ -114,3 +114,3 @@ TTableConfig['columns']

sql: Operators['sql'];
}) => Record<string, SQL.Aliased>);
}) => Record<string, SQL.Aliased>) | undefined;
} & (TRelationType extends 'many' ? {

@@ -122,6 +122,6 @@ where?: SQL | undefined | ((fields: Simplify<[

TTableConfig['columns']
] extends [never] ? {} : TTableConfig['columns']>, operators: OrderByOperators) => ValueOrArray<AnyColumn | SQL>);
limit?: number | Placeholder;
] extends [never] ? {} : TTableConfig['columns']>, operators: OrderByOperators) => ValueOrArray<AnyColumn | SQL>) | undefined;
limit?: number | Placeholder | undefined;
} & (TIsRoot extends true ? {
offset?: number | Placeholder;
offset?: number | Placeholder | undefined;
} : {}) : {});

@@ -128,0 +128,0 @@ export interface TableRelationalConfig {

@@ -22,3 +22,3 @@ import type { GetColumnData } from "../../column.js";

export type SingleStoreUpdateSetSource<TTable extends SingleStoreTable> = {
[Key in keyof TTable['$inferInsert']]?: GetColumnData<TTable['_']['columns'][Key], 'query'> | SQL;
[Key in keyof TTable['$inferInsert']]?: GetColumnData<TTable['_']['columns'][Key], 'query'> | SQL | undefined;
} & {};

@@ -25,0 +25,0 @@ export declare class SingleStoreUpdateBuilder<TTable extends SingleStoreTable, TQueryResult extends SingleStoreQueryResultHKT, TPreparedQueryHKT extends PreparedQueryHKTBase> {

@@ -27,3 +27,3 @@ import type { GetColumnData } from "../../column.js";

export type SQLiteUpdateSetSource<TTable extends SQLiteTable> = {
[Key in keyof TTable['$inferInsert']]?: GetColumnData<TTable['_']['columns'][Key], 'query'> | SQL | SQLiteColumn;
[Key in keyof TTable['$inferInsert']]?: GetColumnData<TTable['_']['columns'][Key], 'query'> | SQL | SQLiteColumn | undefined;
} & {};

@@ -30,0 +30,0 @@ export declare class SQLiteUpdateBuilder<TTable extends SQLiteTable, TResultType extends 'sync' | 'async', TRunResult> {

@@ -61,3 +61,3 @@ import type { Column, GetColumnData } from "./column.js";

} & {
[Key in keyof TColumns & string as OptionalKeyOnly<MapColumnName<Key, TColumns[Key], TConfig['dbColumnNames']>, TColumns[Key], TConfig['override']>]?: GetColumnData<TColumns[Key], 'query'>;
[Key in keyof TColumns & string as OptionalKeyOnly<MapColumnName<Key, TColumns[Key], TConfig['dbColumnNames']>, TColumns[Key], TConfig['override']>]?: GetColumnData<TColumns[Key], 'query'> | undefined;
} : {

@@ -64,0 +64,0 @@ [Key in keyof TColumns & string as MapColumnName<Key, TColumns[Key], TConfig['dbColumnNames']>]: GetColumnData<TColumns[Key], 'query'>;

@@ -1,2 +0,2 @@

var version = "0.38.0";
var version = "0.38.1-d379dcf";

@@ -3,0 +3,0 @@ declare const compatibilityVersion = 10;

// package.json
var version = "0.38.0";
var version = "0.38.1-d379dcf";

@@ -4,0 +4,0 @@ // src/version.ts

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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