How to get last inserted id when using custom query


#1

how to get last inserted id when using custom query in cakephp3?