v8.1-1
版本发布时间: 2019-06-12 17:58:26
ARPA-SIMC/dballe最新发布版本:v9.1-1(2022-02-23 01:04:10)
New in version 8
- Added
NEWS.md
file - Rationalised keyword usage in Fortran API. See Input/Output query parameters documentation for the updated reference.
- Added Message, Importer, Exporter, File, DB, Transaction, Cursor*, Data, Values to the C++ stable API
- Dropped support for Python 2
- Dropped support for unused AOF format
- Renamed fortran API functions with self-explanatory English names. The old names are kept as aliases for compatibility with existing/old Fortran code
- Implemented
dbadb --varlist
- Python API changes:
- Added dballe.Message
- Added dballe.Importer
- Added dballe.Exporter
- Added dballe.File
- Added dballe.Explorer
- Removed dballe.Record in favour of using dict() for input, and using
Cursor*.__getitem__
for output. - Renamed
Cursor*.attr_query
toCursor*.query_attrs
- Added
Cursor*.insert_attrs
- Added
Cursor*.remove_attrs
- Added
Cursor*.remove()
- Added
DB.query_messages
- DB or Transaction:
.query_*
: query argument is now optional, omit it to query everything - Added
Cursor.query
andCursor.data
- Allow to pass a
Cursor
instead of adict
toinsert_data
andinsert_station_data
, to efficiently copy data between databases. - Deprecated
DB.insert_station_data
,DB.insert_data
,DB.remove_station_data
,DB.remove_data
,DB.query_stations
,DB.query_station_data
,DB.query_data
,DB.query_summary
,DB.query_messages
,DB.attr_query_station
,DB.attr_query_data
,DB.attr_insert_station
,DB.attr_insert_data
,DB.attr_remove_station
,DB.attr_remove_data
. Use the same methods indballe.Transaction
instead.
- The use of
?wipe
is now documented and supported in C++, Python, Fortran, and command line. The value ofwipe
is now parsed to prevent unexpectedly clearing a database when using something like?wipe=no
.