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

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

Initial value:

RoutableSqlMethod(
        'posting_update_sql',
        '',
        '''
POSTING_ID="" POSTING_SUBJECT=""

POSTING_BODY="" AUTHOR_IP_ADDRESS=""
''',
        '''
update POSTING set
  POSTING_SUBJECT = '<dtml-var "_.str(POSTING_SUBJECT)" sql_quote>',
  POSTING_BODY = '<dtml-var "_.str(POSTING_BODY)" sql_quote>',
  AUTHOR_IP_ADDRESS = '<dtml-var "_.str(AUTHOR_IP_ADDRESS)" sql_quote>'
where
  POSTING_ID = <dtml-var "_.int(POSTING_ID)">

<dtml-var sql_delimiter>

COMMIT

''')

Definition at line 306 of file sql.py.


Generated by  Doxygen 1.6.0   Back to index