aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/src/mimetypes.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-08-17 15:08:47 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-08-17 15:08:49 -0700
commit419bddcb0377e82e7177356350d35bf84b3e80d8 (patch)
treeebecde65d5abb6d088820681fc2daf878c48600d /rust/fatcat-api/src/mimetypes.rs
parent8faacb2dcfc17b052f8020aeffc675f2db0f24cc (diff)
downloadfatcat-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 'rust/fatcat-api/src/mimetypes.rs')
0 files changed, 0 insertions, 0 deletions