wordpress-orm
wordpress-orm copied to clipboard
Get the last inserted id
When using Doctrine the convention is to set the Id in the Entity but that doesn't look to be the case in the library. Moreover there is no way to get it from the manager too. So i was thinking how we can get the last inserted ID from this library that looks like copying Doctrine logic?
When using Doctrine the convention is to set the Id in the Entity but that doesn't look to be the case in the library. Moreover there is no way to get it from the manager too. So i was thinking how we can get the last inserted ID from this library that looks like copying Doctrine logic?
I'm open to suggestions @CrochetFeve0251