cphalcon
cphalcon copied to clipboard
[NFR]: ADD sticky for read write connection
Is your feature request related to a problem? Please describe.
we need allow the immediate reading of records that have been written to the database during the current request cycle. If the sticky option is enabled and a "write" operation has been performed against the database during the current request cycle, any further "read" operations will use the "write" connection. This ensures that any data written during the request cycle can be immediately read back from the database during that same request.
Describe the solution you'd like learned from laravel
Additional context https://laravel.com/docs/9.x/database#read-and-write-connections