#200 functions, materialized views and procedures in code completion

This commit is contained in:
Jan Prochazka
2021-12-11 17:15:18 +01:00
parent 765ec3ed00
commit cd503efaac
2 changed files with 66 additions and 29 deletions

View File

@@ -72,6 +72,7 @@ const postgresDriverBase = {
getNewObjectTemplates() {
return [
{ label: 'New view', sql: 'CREATE VIEW myview\nAS\nSELECT * FROM table1' },
{ label: 'New materialized view', sql: 'CREATE MATERIALIZED VIEW myview\nAS\nSELECT * FROM table1' },
{
label: 'New procedure',
sql: `CREATE PROCEDURE myproc (arg1 INT)