Dimitri

Results 7 comments of Dimitri

I'm just patching my script like this in the meantime: ```sh λ echo 'test,foo' | mlr --c2t -N unsparsify | xargs -I{} echo '"{}"' | sed 's/\t/\",\"/g' "test","foo" ```

UPDATE: DO NOT USE THIS METHOD! IT IS BUGGY See: https://github.com/rust-db/refinery/issues/119#issuecomment-840340638 - - - I'm kind of new to Rust / this use-case with this library. Sharing in hopes that...

Hi @jxs (and the internet!) --- The solution I came up with is buggy & doesn't work when starting from a *fresh* instance of a database (e.g. in test cases...

@jxs just to be clear, you're suggesting that I implement [Iterator][i] for the refinery struct [Runner][r]? [r]: https://docs.rs/refinery/0.5.0/refinery/struct.Runner.html [i]: https://doc.rust-lang.org/std/iter/trait.Iterator.html

Oh ok. This may be out of reach for me. Thank you for your time.

Hey @jxs --- I found a library called [schemamama][sch] that has a [PostgreSQL driver][pg]. It requires a little more code to set it up, but it does what I need...

~EDIT: The text below is just a partial solution. I think it was only working because my `dummy_sdp` value was being parsed. I'm going to continue working on this. It's...