Hi Garret,

jOOQ's Query.execute() method returns that information, just like JDBC's 
PreparedStatement.executeUpdate().

Hope this helps,
Lukas

----- Ursprüngliche Nachricht -----
Von: "Garret Wilson" <[email protected]>
Gesendet: ‎26.‎09.‎2014 17:08
An: "[email protected]" <[email protected]>
Betreff: whether any rows were deleted in PostgreSQL

When deleting rows, PostgreSQL apparently returns some sort of command tag that 
contains the number of rows deleted. Others have noted that PostgreSQL has a 
special variable named FOUND that will indicate whether DELETE affected any 
rows.

Is there any way for jOOQ's DELETE statement to allow access to this 
information, or to otherwise provide whether any rows were deleted after the 
operation completes? Thanks.

-- 
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.

-- 
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