You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ScalikeJDBC Users Group
Possibly a stupid question, but is there anyway with Scalike to get the number of affected rows when doing an UPDATE or a DELETE? I poked around the methods but I didn't see anything immediately obvious.
-Brian
Kazuhiro Sera
unread,
Apr 14, 2018, 2:50:19 AM4/14/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Brian Huddleston, ScalikeJDBC Users Group
Hi Brian,
You can get the number of affected rows as the return value from
SQL.update.apply().
> --
> You received this message because you are subscribed to the Google Groups
> "ScalikeJDBC Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scalikejdbc-users...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Brian Huddleston
unread,
Apr 14, 2018, 4:09:55 AM4/14/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ScalikeJDBC Users Group
Thanks for the help Kaz. Not exactly sure how I missed that.