Using PostgreSQL Functions in Real Projects with Python

Pubblicato il: 22 giugno 2026
sul canale di: Turtle Code
86
0

In this video, we explore how to use PostgreSQL functions in a real-world scenario and how to call those functions directly from Python. We start by creating a simple products table, then write a PostgreSQL function that uses a SELECT query to calculate discounted prices.

After testing the function inside PostgreSQL, we switch to Python and learn how to connect to a PostgreSQL database using psycopg2. You’ll see how easy it is to call a database function from Python and work with the returned results in your application.

0:00 - Introduction
0:13 - PostgreSQL: Creating Tables, Inserting Data & Functions
1:12 - Calling PostgreSQL Functions with Python
1:55 - Free Python & PostgreSQL Courses

Source Code:
https://github.com/turtlecode/postgre...

✔️ Free Courses:
   / @turtlecode  

✔️ Join Channel:
   / @turtlecode  

This tutorial is perfect if you want to understand how Python and PostgreSQL work together, how database functions are used in real projects, and how to keep business logic inside the database.


In questa pagina del sito puoi guardare il video online Using PostgreSQL Functions in Real Projects with Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Turtle Code 22 giugno 2026, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 86 volte e gli è piaciuto 0 spettatori. Buona visione!