Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Latest commit

 

History

History
66 lines (42 loc) · 5.21 KB

record-api.md

File metadata and controls

66 lines (42 loc) · 5.21 KB

Record API

The Record API allows you to create, query and edit MARC records and their fields. To read or write records, use the the Transform API.

Class diagram for the Record API

NOTE: This is a simplification of reality. If you trying to hack at marc-transformed see the internal API.

Constructors Properties Methods
Record.from leader add
fields delete
id each
type findFirst
hasAll
hasAny
sort
Constructors Properties Methods
ControlField.from tag matches
data
Constructors Properties Methods
DataField.from tag append
indicators delete
subfields each
findFirst
subfieldCodes hasAll
value hasAny
matches
pick
prepend
push
unshift
Constructors Properties Methods
Subfield.from code matches
data

Additional documentation