proxy.golang.org : github.com/Nixson/dbf
Package for working with dBase III plus database files. 1. Package provides both reflection-via-struct interface and direct Row()/FieldValueByName()/AddxxxField() interface. 2. Once table is created and rows added to it, table structure can not be modified. 3. Working with reflection-via-struct interface is easier and produces less verbose code. 4. Use Iterator to iterate over table since it skips deleted rows. TODO: File is loaded and kept in-memory. Not a good design choice if file is huge. This should be changed to use buffers and keep some of the data on-disk in the future. Current API structure should allow redesign. Typical usage db := dbf.New() or dbf.LoadFile(filename) then use db.NewIterator() and iterate or db.Append() do not forget db.SaveFile(filename) if you want changes saved.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/%21nixson/dbf
License: MIT
Latest release: almost 2 years ago
First release: almost 2 years ago
Namespace: github.com/Nixson
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 29 days ago