Package Camelot :: Package camelot :: Package core :: Module sql
[frames] | no frames]

Module sql

source code

Functions
 
like_op(column, string) source code
 
transaction(original_function)
Decorator for methods on an entity, to make them transactional
source code
 
update_database_from_model()
Do some introspection on the model and add missing columns in the database
source code
Variables
  __package__ = 'Camelot.camelot.core'
Function Details

update_database_from_model()

source code 

Do some introspection on the model and add missing columns in the database

this function can be ran in setup_model after setup_all(create_tables=True)