diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-08-17 15:08:47 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-08-17 15:08:49 -0700 |
commit | 419bddcb0377e82e7177356350d35bf84b3e80d8 (patch) | |
tree | ebecde65d5abb6d088820681fc2daf878c48600d /golang/gen | |
parent | 8faacb2dcfc17b052f8020aeffc675f2db0f24cc (diff) | |
download | fatcat-419bddcb0377e82e7177356350d35bf84b3e80d8.tar.gz fatcat-419bddcb0377e82e7177356350d35bf84b3e80d8.zip |
cockroach: refactor custom insert queries into diesel
Basically reverts some big speedups around "single query inserts" (to
ident, rev, and edit tables concurrently), because cockroach doesn't
support "multiple uses of CTEs" (table expressions).
There's probably a way to rewrite using subqueries instead.
Also, would actually want to refactor and use NewRow structs instead of
tuples, I think.
Diffstat (limited to 'golang/gen')
0 files changed, 0 insertions, 0 deletions