π₯ The perfect ORM to work with complex databases π₯
MIT License
Bot releases are visible (Hide)
reflection
from edgy.ReflectModel
to use the internal database session and avoidPublished by tarsil 5 months ago
Q
queryset clause by @devkral.FieldFactory
internals by @devkral.pyproject.toml
definitions by @devkral.model_dump
covering internals of Edgy and corner cases of Pydantic for compatibility reasons by @devkral.is_primary
key attribute by @devkral.schema
name was not using it in the registry.Published by tarsil 6 months ago
list
and tuples
as a type for model_apps.Published by tarsil 6 months ago
model_apps
inside the Migrate
object allowingPublished by tarsil 9 months ago
Published by tarsil 9 months ago
auto_now
and auto_now_add
on save()
and update()
wasn't only updating theauto_now
.date
and datetime
.Published by tarsil 9 months ago
proxy_model
validation added.to
attribute.select_related
or load
ManyToMany
to also accept a string as a parameter for the to
.Published by tarsil 10 months ago
using
queryset operator.select_related
.Published by tarsil 10 months ago
Published by tarsil 10 months ago
exclude_secrets
quick patch for the way it can recursively understand the model fields whenPublished by tarsil 11 months ago
or_
, and_
and not_
for SQLAlchemy style queries and Edgy syntax sugar queries.secrets
field and queryset allowing to query the fields that are not marked as secret
directly.databasez
0.7.0 and this fixes the URL parsing errors for complex passwordsurlsplit
.Published by tarsil 11 months ago
inspectdb
is now handled by an independent isolated called InspectDB
.server_default
does not raise a FieldValidationError
.server_default
added as validation for nullable.null
was not being applied properly from the newly added server_default
.!!! Warning
This could impact your migrations, so the advise would be to generate a new migration
after upgrading to the new version of Edgy to make sure the database reflects the proper
nullables/non-nullable fields.
Published by tarsil 12 months ago
Published by tarsil about 1 year ago
ImproperlyConfigured
for managers that are not typed as ClassVar
avoidingPublished by tarsil about 1 year ago
minimum_length
to min_length
.values_list()
to implement the queryset.clone()
..json()
to model_dump_json()
.Published by tarsil about 1 year ago
Published by tarsil about 1 year ago
DecimalField
definition raising unknown constraint max_digits
.Published by tarsil about 1 year ago
using(schema=...)
and using_with_db(database=..., schema=...)
to querysets.create_schema
and drop_schema
via registry.get_default_schema
from the registry.schema
.extra
to registry allowing to pass a Dict like object containing more database connections. This is an alternative to the registries.build
for Model
and ReflectModel
to allow passing the schema.metaclass
wasn't reflecting 100% the schema being passed into the metadata and therefore, querying the database public schema.Published by tarsil about 1 year ago
__model_reference__
fields.Published by tarsil about 1 year ago
update
, get
, get_or_none
, bulk_create
,bulk_update
, values
, values_list
, only
, defer
and a lot more.OneToOne
, ForeignKey
and ManyToMany
in the same Django style.