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

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

Initial value:

RoutableSqlMethod(
        'thread_change_locked_status',
        '',
        '''
THREAD_ID="" NEW_STATUS=""
''',
        '''
update
  POSTING
set
  THREAD_LOCKED = <dtml-if NEW_STATUS>'t' <dtml-else>'f' </dtml-if>
where
  POSTING_ID = <dtml-var "_.int(THREAD_ID)">

<dtml-var sql_delimiter>

COMMIT

''')

Definition at line 601 of file sql.py.


Generated by  Doxygen 1.6.0   Back to index