About Reading a Substring in a Django Queryset
Here's how to read the first and last names from a single name
field in a Django queryset with PostgreSQL:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
That's analogous to SQL query:
1 2 3 4 |
|
Tips and Tricks Programming Development Databases Django 4.2 Django 3.2 Django 2.2 PostgreSQL
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django GDPR Cookie Consent app
For Django websites that use cookies.