| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/twisted/enterprise/ |
Upload File : |
ó
[³XMc @ sˆ d d l m Z d d l m Z m Z m Z m Z d d l m Z d d l m Z d d l
m Z d e j f d „ ƒ YZ
d g Z d S( iÿÿÿÿ( t reflector( t DBErrort getKeyColumnt quotet safe( t
_TableInfo( t RowObject( t reflectt SQLReflectorc B sð e Z d Z d Z i d e j 6d e j 6d e j 6d e j 6Z d „ Z
d „ Z d „ Z d „ Z
d
„ Z d „ Z d d d d d „ Z d
„ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( s
DEPRECATED.
I reflect on a database and load RowObjects from it.
In order to do this, I interrogate a relational database to
extract schema information and interface with RowObject class
objects that can interact with specific tables.
i t =t <t >t likec C s t j j | | ƒ | | _ d S( s* Initialize me against a database.
N( R t Reflectort __init__t dbpool( t selfR t
rowClasses( ( sC /usr/lib/python2.7/dist-packages/twisted/enterprise/sqlreflector.pyR s c C s | j ƒ d S( N( t _transPopulateSchema( R ( ( sC /usr/lib/python2.7/dist-packages/twisted/enterprise/sqlreflector.pyt _populate% s c C s\ xL | j D]A } t | t ƒ s>