- Fixed issue #223:
insert
can insert relations without fetching - ERD() now takes the
context
argument, which specifies in which context to look for classes. The default is taken from the argument (schema or relation). - ERD.draw() no longer has the
prefix
argument: class names are shown as found in the context.
- Suppressed warnings (redirected them to logging). Previoiusly, scipy would throw warnings in ERD, for example.
- Added ERD.from_sequence as a shortcut to combining the ERDs of multiple sources
- ERD() no longer text the context argument.
- ERD.draw() now takes an optional context argument. By default uses the caller's locals.
- Added method the
ERD.add_parts
method, which adds the part tables of all tables currently in the ERD. ERD() + arg
andERD() - arg
can now accept relation classes as arg.
dj.set_password()
now asks for user confirmation before changing the password.- fixed issue #228
- bugfix in
schema.spawn_missing_classes
. Previously, spawned part classes would not show in ERDs. - dj.key now causes fetch to return as a list of dicts. Previously it was a recarray.
- added parameter
ignore_extra_fields
ininsert
insert(..., skip_duplicates=True)
now relies onSELECT IGNORE
. Previously it explicitly checked if tuple already exists.- table previews now include blob attributes displaying the string
- added the
_update
method inbase_relation
. It allows updating values in existing tuples. - bugfix in reading values of type double. Previously it was cast as float32.