Fixes #1217 - Added support for the context menu - 'View Data' for the
Materialized View.pull/3/head
parent
c81977d441
commit
d4644428e6
|
@ -20,7 +20,7 @@ define(
|
||||||
|
|
||||||
// Define list of nodes on which view data option appears
|
// Define list of nodes on which view data option appears
|
||||||
var supported_nodes = [
|
var supported_nodes = [
|
||||||
'table', 'view',
|
'table', 'view', 'mview',
|
||||||
'foreign-table', 'catalog_object'
|
'foreign-table', 'catalog_object'
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
@ -512,6 +512,16 @@ class ViewCommand(GridCommand):
|
||||||
return True
|
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):
|
||||||
"""
|
"""
|
||||||
class ForeignTableCommand(GridCommand)
|
class ForeignTableCommand(GridCommand)
|
||||||
|
|
Loading…
Reference in New Issue