moj-analytical-services / pydbtools

Python version of dbtools
https://moj-analytical-services.github.io/pydbtools/
10 stars 2 forks source link

Uncleaned replace temp db name function using flatten to preserve ori… #62

Closed mratford closed 2 years ago

mratford commented 2 years ago

…ginal tokens

This is a different approach, bypassing clean_query and preserving the original tokens, replacing any __temp__s with the replacement database name.