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

drizzle-orm-pg

Package Overview
Dependencies
Maintainers
3
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drizzle-orm-pg - npm Package Compare versions

Comparing version 0.12.0-beta.5 to 0.12.0-beta.6

columns/bigSerial.d.ts

7

columns/text.d.ts
import { ColumnData, ColumnDriverParam, ColumnHasDefault, ColumnNotNull, TableName } from 'drizzle-orm/branded-types';
import { AnyPgTable } from '../table';
import { PgColumnBuilder, PgColumnWithMapper } from './common';
export declare class PgTextBuilder<TData extends string = string, TNotNull extends ColumnNotNull = ColumnNotNull<false>, THasDefault extends ColumnHasDefault = ColumnHasDefault<false>> extends PgColumnBuilder<ColumnData<TData>, ColumnDriverParam<string>, TNotNull, THasDefault> {
export declare class PgTextBuilder<TData extends ColumnData<string> = ColumnData<string>, TNotNull extends ColumnNotNull = ColumnNotNull<false>, THasDefault extends ColumnHasDefault = ColumnHasDefault<false>> extends PgColumnBuilder<TData, ColumnDriverParam<string>, TNotNull, THasDefault> {
}
export declare class PgText<TTableName extends TableName, TNotNull extends ColumnNotNull, THasDefault extends ColumnHasDefault, TData extends string> extends PgColumnWithMapper<TTableName, ColumnData<TData>, ColumnDriverParam<string>, TNotNull, THasDefault> {
export declare class PgText<TTableName extends TableName, TNotNull extends ColumnNotNull, THasDefault extends ColumnHasDefault, TData extends ColumnData<string>> extends PgColumnWithMapper<TTableName, TData, ColumnDriverParam<string>, TNotNull, THasDefault> {
protected brand: 'PgText';

@@ -11,2 +11,3 @@ constructor(table: AnyPgTable<TTableName>, builder: PgTextBuilder<TData, TNotNull, THasDefault>);

}
export declare function text<T extends string = string>(name: string): PgTextBuilder<T, ColumnNotNull<false>, ColumnHasDefault<false>>;
export declare function text(name: string): PgTextBuilder;
export declare function text<T extends string = string>(name: string): PgTextBuilder<ColumnData<T>>;
import { ColumnData, ColumnDriverParam, ColumnHasDefault, ColumnNotNull, TableName } from 'drizzle-orm/branded-types';
import { AnyPgTable } from '../table';
import { PgColumnBuilder, PgColumnWithMapper } from './common';
export declare class PgVarcharBuilder<TData extends ColumnData<string> = ColumnData<string>, TNotNull extends ColumnNotNull = ColumnNotNull<false>, THasDefault extends ColumnHasDefault = ColumnHasDefault<false>> extends PgColumnBuilder<ColumnData<TData>, ColumnDriverParam<string>, TNotNull, THasDefault> {
export declare class PgVarcharBuilder<TData extends ColumnData<string> = ColumnData<string>, TNotNull extends ColumnNotNull = ColumnNotNull<false>, THasDefault extends ColumnHasDefault = ColumnHasDefault<false>> extends PgColumnBuilder<TData, ColumnDriverParam<string>, TNotNull, THasDefault> {
constructor(name: string, length?: number);
}
export declare class PgVarchar<TTableName extends TableName, TData extends ColumnData<string>, TNotNull extends ColumnNotNull, THasDefault extends ColumnHasDefault> extends PgColumnWithMapper<TTableName, ColumnData<TData>, ColumnDriverParam<string>, TNotNull, THasDefault> {
export declare class PgVarchar<TTableName extends TableName, TData extends ColumnData<string>, TNotNull extends ColumnNotNull, THasDefault extends ColumnHasDefault> extends PgColumnWithMapper<TTableName, TData, ColumnDriverParam<string>, TNotNull, THasDefault> {
protected brand: 'PgVarchar';

@@ -13,2 +13,3 @@ length: number | undefined;

}
export declare function varchar<T extends string = string>(name: string, length?: number): PgVarcharBuilder<ColumnData<T>, ColumnNotNull<false>, ColumnHasDefault<false>>;
export declare function varchar(name: string, length?: number): PgVarcharBuilder;
export declare function varchar<T extends string = string>(name: string, length?: number): PgVarcharBuilder<ColumnData<T>>;
{
"name": "drizzle-orm-pg",
"version": "0.12.0-beta.5",
"version": "0.12.0-beta.6",
"description": "Drizzle ORM package for PostgreSQL database",

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

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