Serials: utility db functions for troubleshooting, data munging
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Here's a branch containing a few stored procedures for troubleshooting serials that have come in handy for me.
I don't know why we ever decided to make columns in the serials schema that are meant to contain a MARC field encoded as a JSON array, nor whether there's a real name or formal specification for that (but I doubt it).
These functions:
FUNCTION evergreen.
FUNCTION evergreen.
FUNCTION evergreen.
FUNCTION evergreen.
FUNCTION evergreen.
FUNCTION evergreen.
all take a piece of this "jsonmarc" as their first argument. Then they manipulate it and returned an altered piece of jsonmarc, or they look something up from it and return that.
This branch may need polish before inclusion in Evergreen, but I've developed these to help me and there's no reason everybody needs to reinvent this wheel.
Changed in evergreen: | |
assignee: | Dan Wells (dbw2) → nobody |
Might be helpful someday.