Attempting to generate a viz of my database schema would fail every time, as most attempts to write to the filestream would fail (presumably because each chunk was too large to be written before the next call). This PR works around this issue by writing the entire schema at once.
I also merged the two for loops, as they seemed to be redundant.
Attempting to generate a viz of my database schema would fail every time, as most attempts to write to the filestream would fail (presumably because each chunk was too large to be written before the next call). This PR works around this issue by writing the entire schema at once.
I also merged the two for loops, as they seemed to be redundant.