• English Español
  • Categories
    • Algorithms
    • Artificial intelligence
    • Databases
    • Django
    • Docker
    • Fastapi
    • Git
    • Go
    • Htmx
    • Javascript
    • Linux and devops
    • Opinions
    • Python
    • React
    • Rust
    • Seo
    • Software architecture
    • Testing
    • Typescript
  • Hire me
  • RSS
  • About me
  • Languages
    English Español
  • Categories
    • Algorithms
    • Artificial intelligence
    • Databases
    • Django
    • Docker
    • Fastapi
    • Git
    • Go
    • Htmx
    • Javascript
    • Linux and devops
    • Opinions
    • Python
    • React
    • Rust
    • Seo
    • Software architecture
    • Testing
    • Typescript
  • Hire me
  • RSS
  • About me

Coffee bytes

Full-stack Web development blog on Linux with opinions, tutorials, ideas and rants.

Databases

Subscribe via RSS to Databases posts
    Software architecture Databases

    Multi Tenant Architecture in Software: What Is It and Its Databases Patterns

    The multi tenant architecture is a software architecture (Don’t confuse it with a design pattern or deployment …
    Django Databases

    Fix slow queries in Django when using annotate and subqueries

    Django’s ORM is quite useful and versatile, it can perform most of the common SQL operations, such as filtering, …
    Go Databases

    Go Migration Tutorial with migrate

    In frameworks like Django, migrations are created automatically , from the models. However, in languages like go, as …
    Image credits for 極道畫師 https://www.pixiv.net/en/users/7140895
    Django Databases

    Categories in Django using ForeignKey to self

    Grouping by categories is quite common in web applications, from movies, courses or any other resource that presents a …
    Image credits to ときわた: https://www.pixiv.net/en/users/5300811
    Django Databases

    Differences between select_related and prefetch_related in Django

    The select_related and prefetch_related methods are used to reduce the number of queries made to the database. This …
    credits https://www.pexels.com/@nguy-n-lam-196145/
    Fastapi Databases

    Python tortoise ORM integration with FastAPI

    One of the things I like most about Django is its ORM; one of the reasons why this framework is so popular . On the …
    Credits to https://www.pexels.com/es-es/@suju/
    Django Databases

    Managers or custom handlers in Django

    A Manager (or handler) is the interface through which query operations or queries from the database are provided to …
    credits: https://www.pexels.com/es-es/@pepecaspers/
    Django Databases

    Trigrams and advanced searches with Django and Postgres

    What if a user’s finger slips on the keyboard and types “parfume” instead of “perfume”. We …
    Credits to https://www.pexels.com/es-es/@iamikeee/
    Django Databases

    Full text search and searches with Django and Postgres

    Sometimes when we type we make a mistake in a letter, we can repeat it, omit it or change it for another one. That …
    credits https://www.pexels.com/es-es/@weekendplayer/
    Django Databases

    What is Django genericForeignkey for?

    You want to use Django to relate one model to another using a foreign key, but the model you want to relate is a …
  • ««
  • «
  • 1
  • 2
  • »
  • »»
Privacy policy Cookie policy Disclosure
Powered by Hugo and Hugo Theme Latte

© All rights reserved.