mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixes #1217 - Added support for the context menu - 'View Data' for the
Materialized View.
This commit is contained in:
parent
c81977d441
commit
d4644428e6
@ -20,7 +20,7 @@ define(
|
||||
|
||||
// Define list of nodes on which view data option appears
|
||||
var supported_nodes = [
|
||||
'table', 'view',
|
||||
'table', 'view', 'mview',
|
||||
'foreign-table', 'catalog_object'
|
||||
],
|
||||
|
||||
|
@ -512,6 +512,16 @@ class ViewCommand(GridCommand):
|
||||
return True
|
||||
|
||||
|
||||
class MViewCommand(ViewCommand):
|
||||
"""
|
||||
class MViewCommand(ViewCommand)
|
||||
|
||||
It is a derived class for View type has
|
||||
same functionality of View
|
||||
"""
|
||||
object_type = 'mview'
|
||||
|
||||
|
||||
class ForeignTableCommand(GridCommand):
|
||||
"""
|
||||
class ForeignTableCommand(GridCommand)
|
||||
|
Loading…
Reference in New Issue
Block a user