Skip to content

Commit 5ce4242

Browse files
committed
Add missing resultSetPanelProvider.ts file change
1 parent 3fd30c2 commit 5ce4242

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/views/results/resultSetPanelProvider.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ export class ResultSetPanelProvider implements WebviewViewProvider {
230230
name: column.COLUMN_NAME,
231231
jsType: column.NUMERIC_PRECISION ? `number` : `asString`,
232232
useInWhere: column.IS_IDENTITY === `YES`,
233+
isNullable: column.IS_NULLABLE === `Y`,
233234
maxInputLength: column.CHARACTER_MAXIMUM_LENGTH
234235
}));
235236

@@ -263,7 +264,7 @@ export class ResultSetPanelProvider implements WebviewViewProvider {
263264

264265

265266
basicSelect = `select rrn(${cName}) as RRN, ${possibleColumnList} from ${schema}.${ref.object.name} as ${cName} ${fromWhereClause || ``}`;
266-
currentColumns = [{ name: `RRN`, jsType: `number`, useInWhere: true }, ...currentColumns];
267+
currentColumns = [{ name: `RRN`, jsType: `number`, isNullable: false, useInWhere: true }, ...currentColumns];
267268
}
268269

269270
updatable = {

0 commit comments

Comments
 (0)