<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/this-week-i-learned-2022w38-wvs8fyke3" -->

---
title: This Week I Learned: 2022W38 | daily.dev
description: MySQL has a native event system for scheduling database updates without cron jobs, while PostgreSQL requires the pg_cron extension. Phinx offers...
canonical: https://daily.dev/posts/this-week-i-learned-2022w38-wvs8fyke3
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: This Week I Learned: 2022W38 | daily.dev
og:description: MySQL has a native event system for scheduling database updates without cron jobs, while PostgreSQL requires the pg_cron extension. Phinx offers...
og:url: https://daily.dev/posts/this-week-i-learned-2022w38-wvs8fyke3
og:image: https://api.daily.dev/og/posts/wvs8FYKe3.png
og:image:alt: This Week I Learned: 2022W38
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# This Week I Learned: 2022W38

**[Einenlum - Coding amongst alpacas and pinball machines](https://daily.dev/sources/einenlum)** · 1 min read · 0 upvotes · 0 comments

## Summary

MySQL has a native event system for scheduling database updates without cron jobs, while PostgreSQL requires the pg_cron extension. Phinx offers framework-agnostic database migrations for PHP projects. Python supports chained equality comparisons (1.0 == 1 == 1.00) while PHP throws a syntax error for the same expression.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.einenlum.com/articles/twil-2022-38/>

---

Tags: [#python](https://daily.dev/tags/python), [#php](https://daily.dev/tags/php), [#postgresql](https://daily.dev/tags/postgresql), [#mysql](https://daily.dev/tags/mysql)

[View this post on daily.dev](https://daily.dev/posts/this-week-i-learned-2022w38-wvs8fyke3)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"This Week I Learned: 2022W38","url":"https://daily.dev/posts/this-week-i-learned-2022w38-wvs8fyke3","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/this-week-i-learned-2022w38-wvs8fyke3"},"datePublished":"2026-02-01T08:36:39.034Z","dateModified":"2026-02-01T08:38:01.552Z","description":"MySQL has a native event system for scheduling database updates without cron jobs, while PostgreSQL requires the pg_cron extension. Phinx offers...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e3165bb200ed206ea1b6d8a4cc4ebe6a?_a=AQAEulh","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e3165bb200ed206ea1b6d8a4cc4ebe6a?_a=AQAEulh","isAccessibleForFree":true,"articleSection":"Einenlum - Coding amongst alpacas and pinball machines","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Einenlum - Coding amongst alpacas and pinball machines","logo":"https://media.daily.dev/image/upload/s--QoeVvEJY--/f_auto,q_auto/v1769934130/logos/einenlum","url":"https://daily.dev/sources/einenlum"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/this-week-i-learned-2022w38-wvs8fyke3","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,php,postgresql,mysql","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Einenlum - Coding amongst alpacas and pinball machines","item":"https://daily.dev/sources/einenlum"},{"@type":"ListItem","position":3,"name":"This Week I Learned: 2022W38"}]}
```

