I am running Magento 2.2 and I want to get the order id on the success page.
$block->getOrderId() // returns 000000008 for example
I do not want 000000008, but the real ID from the database, like 11616. How could I do that on the success page?
Thanks!