▲ | Ozzie_osman 4 days ago | ||||||||||||||||
Or write the query as a function in code, that way, everyone can know it exists, call it easily, and change it along with any other changes to your logic or schema. | |||||||||||||||||
▲ | sgarland 4 days ago | parent [-] | ||||||||||||||||
So now you have to launch a special debug instance of your app that doesn't accept prod traffic, but can still connect to the prod DB, so you can shell into it and call the function? You can and should store SQL queries in VCS. Everyone can still know that they're there. | |||||||||||||||||
|