Using models with db generated uuid's for Identity

As a security measure I have chosen to use db generated uuids as defaults for my Primary/Identity field. I am doing this with postgres which allows for a INSERT RETURNING method. Is there a way to get doLowInsert / save to recognize this and fetch the RETURNING identity value?



30.0k

Hi,

this is not a bug but a feature request.

phalcon use php's PDO library to access to the database. Maybe the feature you are asking isn't implemented in pdo ?