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

drizzle-orm-sqlite

Package Overview
Dependencies
Maintainers
3
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drizzle-orm-sqlite - npm Package Compare versions

Comparing version 0.12.0-beta.15 to 0.12.0-beta.16

14

indexes.d.ts
import { SQL } from 'drizzle-orm/sql';
import { AnySQLiteColumn } from './columns';
interface IndexConfig {
/**
* If true, the index will be created as `create unique index` instead of `create index`.
*/
export interface IndexConfig {
name: string;
columns: IndexColumn[];
unique: boolean;
/**
* Condition for partial index.
*/
where: SQL | undefined;

@@ -23,2 +19,5 @@ }

constructor(name: string, columns: IndexColumn[], unique: boolean);
/**
* Condition for partial index.
*/
where(condition: SQL): this;

@@ -38,2 +37,1 @@ }

export declare function uniqueIndex(name: string): IndexBuilderOn;
export {};

@@ -17,2 +17,4 @@ "use strict";

this.config = {
name,
columns,
unique,

@@ -22,2 +24,5 @@ where: undefined,

}
/**
* Condition for partial index.
*/
where(condition) {

@@ -24,0 +29,0 @@ this.config.where = condition;

{
"name": "drizzle-orm-sqlite",
"version": "0.12.0-beta.15",
"version": "0.12.0-beta.16",
"description": "Drizzle ORM package for SQLite database",

@@ -60,5 +60,5 @@ "main": "index.js",

"publish:beta": "npm publish package.tgz --tag beta",
"release:beta": "pnpm build && pnpm version prerelease && pnpm run pack && pnpm publish:beta",
"release:beta": "pnpm build && pnpm run pack && pnpm publish:beta",
"build:int": "pnpm build && pnpm run pack"
}
}

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