Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

psycopg Row Factories - ORM-free area!

Автор: MathByte Academy

Загружено: 2024-06-19

Просмотров: 1219

Описание:

#mathbyteacademy #python

This is Part 2 of a two-part set of videos that looks into how to hook up Pydantic models to data returned by queries run against a Postgres database using the `psycopg` library.

In Part 1, we looked at how to run Postgres locally using docker compose, and at what SQL migrations are, and how to implement them using the YoYo library.

In this second part, we'll see how we can load data query results from Postgres directly into Pydantic classes (or dataclasses, dictionaries, namedtuples or just plain tuples).

This set of videos is, by design, completely ORM-free!! If you're looking for content on ORMs such SQLAlchemy, then this channel is not for you!

Code for this Video
================
Available in GitHub blog repo: https://github.com/fbaptiste/python-blog

My Python Courses
=================

Python 3 Fundamentals (introduction to Python)
https://www.udemy.com/course/python3-...

Pydantic V2: Essentials
https://www.udemy.com/course/pydantic...

Python 3 Deep Dive (Part 1 - Functional)
https://www.udemy.com/course/python-3...

Python 3 Deep Dive (Part 2 - Iteration, Generators)
https://www.udemy.com/course/python-3...

Python 3 Deep Dive (Part 3 - Hash Maps)
https://www.udemy.com/course/python-3...

Python 3 Deep Dive (Part 4 - OOP)
https://www.udemy.com/course/python-3...

psycopg Row Factories - ORM-free area!

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Postgres SQL Migrations using YoYo

Postgres SQL Migrations using YoYo

A Deep Dive into Python's Dataclasses (Part 1)

A Deep Dive into Python's Dataclasses (Part 1)

Асинхронное взаимодействие с PostgreSQL / Алексей Фирсов

Асинхронное взаимодействие с PostgreSQL / Алексей Фирсов

Классы данных Attrs, Pydantic или Python?

Классы данных Attrs, Pydantic или Python?

Simplify Debug Print Statements using IceCream

Simplify Debug Print Statements using IceCream

Синьор 1С: 10 привычек, без которых ты не вырастешь

Синьор 1С: 10 привычек, без которых ты не вырастешь

4 совета как ЛУЧШЕ писать циклы For на Python

4 совета как ЛУЧШЕ писать циклы For на Python

Pydantic (V2) - In-depth Starter Guide

Pydantic (V2) - In-depth Starter Guide

Python Type Hinting

Python Type Hinting

Долбануть по Ирану, отжать Гренландию | Обычный вторник Трампа? (English subtitles)

Долбануть по Ирану, отжать Гренландию | Обычный вторник Трампа? (English subtitles)

Python MultiProcessing: Leveraging Pools to Turbocharge your Apps

Python MultiProcessing: Leveraging Pools to Turbocharge your Apps

Kubernetes — Простым Языком на Понятном Примере

Kubernetes — Простым Языком на Понятном Примере

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Speed Up your Python Apps with Caching

Speed Up your Python Apps with Caching

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

Python Logging Demystified: Part 1 - Concepts

Python Logging Demystified: Part 1 - Concepts

PostgreSQL in Python - Crash Course

PostgreSQL in Python - Crash Course

Python's SimpleNamespace and JSON

Python's SimpleNamespace and JSON

Почему ваш код не соответствует Python (и как это исправить)

Почему ваш код не соответствует Python (и как это исправить)

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com