new function - migration_tools.make_stub_bib()
authorGalen Charlton <gmc@esilibrary.com>
Fri, 17 Aug 2012 19:13:21 +0000 (15:13 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 17 Aug 2012 19:13:21 +0000 (15:13 -0400)
commitc7f8e014fff93ed7552e3e9a97145679ab886f8f
tree9f29d1b97d5c200f504bd07e91aaf1d188b79f75
parent94b89a418c3615a8c9e687b38b056a7596c73391
new function - migration_tools.make_stub_bib()

Simple function to create a stub MARCXML bib from a set of columns.
The first argument is an array of tag/subfield specifiers, e.g., ARRAY['001', '245a', '500a'].
The second argument is an array of text containing the values to plugin into each field.
If the value for a given field is NULL or the empty string, it is not inserted.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
sql/base/base.sql