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.
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 |