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

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

Initial value:

RoutableSqlMethod(
        'posting_update_increment_number_of_replies',
        '',
        '''
PARENT_ID=""
''',
        '''
update
  POSTING
set
  NUMBER_OF_REPLIES = NUMBER_OF_REPLIES + 1,
  DATE_LAST_REPLY = now()
where
  POSTING_ID = <dtml-var "_.int(PARENT_ID)">

<dtml-var sql_delimiter>

COMMIT

''')

Definition at line 267 of file sql.py.


Generated by  Doxygen 1.6.0   Back to index