4 ms·
I'm not talking about SQL in general, I'm talking about the golang sql module. Read this if you think I'm wrong: https://github.com/bradfitz/go-sql-test/blob/m
by shadowmint 10y ago
I'm not talking about SQL in general, I'm talking about the golang sql module.
Read this if you think I'm wrong: https://github.com/bradfitz/go-sql-test/blob/master/src/sqltest/sql_test.go#L149 https://github.com/bradfitz/go-sql-test/blob/master/src/sqlt...
Great abstraction, right? Love how you have to mangle the raw SQL right? no. It's a bad abstraction.
When you test the implementation and you have to know the details of the implementation to test it, that's like, the definition of a bad abstraction.
It is what it is.
...and ultimately, we're stuck with it because its part of the standard library.
/shrug