def create_update():
update = upkey("<STR_LIT>").setResultsName("<STR_LIT:action>")<EOL>returns, none, all_, updated, old, new = map(<EOL>upkey, ["<STR_LIT>", "<STR_LIT:none>", "<STR_LIT:all>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]<EOL>)<EOL>return_ = returns + Group(<EOL>none | (all_ + old) | (all_ + new) | (updated + old) | (updated + new)<EOL>).setResultsName("<STR_LIT>")<EOL>return (<EOL>update<EOL>+ table<EOL>+ update_expr<EOL>+ Optional(keys_in)<EOL>+ Optional(where)<EOL>+ Optional(using)<EOL>+ Optional(return_)<EOL>+ Optional(throttle)<EOL>)<EOL>
Create the grammar for the 'update' statement