pgsql-ast-parser
Advanced tools
Comparing version 10.5.0 to 10.5.1
{ | ||
"name": "pgsql-ast-parser", | ||
"version": "10.5.0", | ||
"version": "10.5.1", | ||
"description": "Yet another simple Postgres SQL parser/modifier", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -518,2 +518,3 @@ // import { IType } from '../../interfaces'; | ||
type: 'reference'; | ||
constraintName?: Name; | ||
} | ||
@@ -520,0 +521,0 @@ |
@@ -645,3 +645,3 @@ import { IAstPartialMapper, AstDefaultMapper } from './ast-mapper'; | ||
constraint: cst => { | ||
if ('constraintName' in cst && cst.constraintName) { | ||
if (cst.constraintName) { | ||
ret.push(' CONSTRAINT ', name(cst.constraintName), ' '); | ||
@@ -648,0 +648,0 @@ } |
@@ -381,2 +381,3 @@ import { nil } from '../utils'; | ||
type: 'reference'; | ||
constraintName?: Name; | ||
} | ||
@@ -383,0 +384,0 @@ export interface ColumnConstraintDefault extends PGNode { |
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
1637509
17738