I am interested in knowing if there is any way to obtain the sql that is generated when an insert is made in this way, the general idea is to be able to save it in the base as a kind of log.
resultado = db.session.add(addingUser)
I am interested in knowing if there is any way to obtain the sql that is generated when an insert is made in this way, the general idea is to be able to save it in the base as a kind of log.
resultado = db.session.add(addingUser)