Hi,

Id like to write an update query like this:

update responses set response = ?, response_timestamp = clock_timestamp() where 
session_id = ?

but I cannot quite get the syntax correct...

I'm using:

update(Tables.RESPONSES).set(Tables.RESPONSES.RESPONSE, 
"bob").set(Table.RESPONSES.RESPONSE_TIMESTAMP, ???No 
Idea??).where(Tables.RESPONSES.SESSION_ID.eq("sid").execute()

... what should the seconds set() clause look like?

Thanks for any help!

James

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to