Logo Search packages:      
Sourcecode: zope-cmfpgforum version File versions

tuple CMFpgForum::sql::SQLMethods::thread_delete_sql [static, inherited]

Initial value:

RoutableSqlMethod(
        'thread_delete_sql',
        '',
        '''
THREAD_ID=""
''',
        '''
delete from POSTING_KEYWORD where POSTING_ID = <dtml-var "_.int(POSTING_ID)">

<dtml-var sql_delimiter>

delete from POSTING_KEYWORD where POSTING_ID in
  (select POSTING_ID from POSTING where THREAD_ID = <dtml-var "_.int(THREAD_ID)">)

<dtml-var sql_delimiter>

delete from POSTING where POSTING_ID = <dtml-var "_.int(POSTING_ID)">

<dtml-var sql_delimiter>

delete from POSTING where THREAD_ID = <dtml-var "_.int(POSTING_ID)">

<dtml-var sql_delimiter>

COMMIT

''')

Definition at line 520 of file sql.py.


Generated by  Doxygen 1.6.0   Back to index