Skip to content Skip to sidebar Skip to footer
Showing posts with the label Django Orm

Per-transaction Isolation Level In Django Orm

Is it possible to set isolation level for custom transaction (but not with raw sql)? For example, s… Read more Per-transaction Isolation Level In Django Orm

Annotate Custom Sql Function (similar To Date_trunc) To Django Orm Queryset

I am using timescaledb which is basically just an extension for postgres. It comes with a SQL funct… Read more Annotate Custom Sql Function (similar To Date_trunc) To Django Orm Queryset

Django - Multiple Databases

So I'm somewhat new to the whole Django databases and maybe I just don't fully understand t… Read more Django - Multiple Databases

Django Orm Orderby Exact / Prominent Match To Be On Top

I need to order the results based on the length of match in Django ORM. I have a Suburb table with … Read more Django Orm Orderby Exact / Prominent Match To Be On Top