Ravel Python API Reference
A Database-Defined Network Controller
Public Member Functions | List of all members
ravel.app.AppComponent Class Reference

A component in an application's SQL implementation. More...

Inherits object.

Public Member Functions

def __init__
 
def drop
 Drop the component from the specified database. More...
 
def watchable
 

Detailed Description

A component in an application's SQL implementation.

Any addition to the database is considered a 'component' that must be removed when the application is unloaded. A component could be a table, view, function, etc.

Constructor & Destructor Documentation

def ravel.app.AppComponent.__init__ (   self,
  name,
  typ 
)
Parameters
namethe name of the component
typthe type of component (table, view, function)

Member Function Documentation

def ravel.app.AppComponent.drop (   self,
  db 
)

Drop the component from the specified database.

Parameters
dba ravel.db.RavelDb instance containing the component
def ravel.app.AppComponent.watchable (   self)
Returns
true if the component is an object that can be watched with a select query

The documentation for this class was generated from the following file: