---
title: "Foreign Keys and Calvin & Hobbes"
url: "https://aaronfrancis.com/podcast/foreign-keys-and-calvin-hobbes-0e01df34"
path: "/podcast/foreign-keys-and-calvin-hobbes-0e01df34"
type: podcast_episode
author: Aaron Francis
published: 2021-09-03
description: "We're kind of all over the place today! Sleep, foreign keys, CommandBar, Calvin & Hobbes somehow, Vue, and so on."
keywords: [foreign keys, nested queries, command bar, vue, has many through, vue 2, vue 3, tailwind ui, shopify, capybara, magic test, back surgery]
show: Hammerstone
chunked: true
full_bytes: 41163
section_count: 3
full_url: "/podcast/foreign-keys-and-calvin-hobbes-0e01df34/full.md"
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# Foreign Keys and Calvin & Hobbes

## Show Notes

We're kind of all over the place today! Sleep, foreign keys, CommandBar, Calvin & Hobbes somehow, Vue, and so on.

Command Bar - https://www.commandbar.com/ - "CommandBar gives your users onboarding nudges, quick actions [...] in one personalized [...] widget."

## Sections (40.2 KB full document — follow any link to read verbatim)

This page is long enough to hit agent truncation cliffs if fetched all at once. Pick the section matching your question below to read it 100% verbatim (< 35 KB each), or open the [full unsplit document (40.2 KB)](/podcast/foreign-keys-and-calvin-hobbes-0e01df34/full.md).

### 1. Part 1 (00:01–15:32 · 15.3 KB)
Sean recounts a scary home incident during D&D, then Aaron and Colleen discuss database query optimization and the problem of nested subselects versus pulling IDs into memory.
Keywords: `ids`, `relationships`, `test`, `events table`, `system test`, `magic test`, `sub selects`, `laravel`
[Read section 1 verbatim](/podcast/foreign-keys-and-calvin-hobbes-0e01df34/sections/1-part-1.md)

### 2. Part 2 (15:32–33:06 · 15.5 KB)
Aaron explains how MySQL and PHP have placeholder limits (~5,000) that can break at runtime when binding large numbers of IDs, requiring checks in Ruby/Postgres; then discusses scaling from $500K to $3M via integrations with no-code platforms like Bubble and Webflow.
Keywords: `ids`, `mysql`, `command bar`, `sleep`, `command`, `bar`, `took`, `bed`
[Read section 2 verbatim](/podcast/foreign-keys-and-calvin-hobbes-0e01df34/sections/2-part-2.md)

### 3. Part 3 (33:06–43:15 · 9.1 KB)
Sean explores platform integrations (Shopify, Bubble, Webflow) as the path to growing the business while balancing developer and no-code audiences, and reminds Aaron to email Adam Wathan about licensing Tailwind UI for their form elements.
Keywords: `shopify`, `calvin`, `mhmm`, `hobbes`, `working`, `wathan`, `shopify store`, `take calvin`
[Read section 3 verbatim](/podcast/foreign-keys-and-calvin-hobbes-0e01df34/sections/3-part-3.md)

---

## Related on aaronfrancis.com

- [First Nova Install 🎉 and Prepping for Laracon](/podcast/first-nova-install-and-prepping-for-laracon-4e4bf72b) *(Podcast · 2022-02-01 · shared: sidecar, vue 2, vue 3)*
- [Sean Has Known All Along](/podcast/sean-has-known-all-along-48fab596) *(Podcast · 2022-01-18 · shared: vue 2, vue 3, sidecar)*
- [Launch Day is in Sight](/podcast/launch-day-is-in-sight-aa0985da) *(Podcast · 2021-11-17 · shared: vue, postgres, ruby on rails)*
- [Billions with a "B"](/podcast/billions-with-a-b-9541d71f) *(Podcast · 2021-08-13 · shared: sidecar, nested queries, postgres)*
- [Railsifying Refine, Torchlight, and the Myth of the MVP](/podcast/railsifying-refine-torchlight-and-the-myth-of-the-mvp-d7c72d19) *(Podcast · 2021-07-23 · shared: ruby on rails, sidecar, pricing strategy)*

## Relevant Resources from Aaron Francis

- **[MySQL for Developers](https://databaseschool.com)** (overview on site: [/courses](/courses)): Full video course covering MySQL indexing, deferred joins, pagination, query plans, and schema design for application developers.
- **[Mastering Postgres](https://databaseschool.com)** (overview on site: [/courses](/courses)): Deep-dive video course on PostgreSQL indexing, query performance, JSONB, full-text search, locking, and production operations.

## Search aaronfrancis.com (2-Hop Static Keyword Index)

Pick the alphabetical shard matching any topic to find exact pages across all articles, newsletters, videos, talks, and podcast transcripts (every shard is < 40 KB):
[A-B](/llms/keywords/a-b.txt) · [C](/llms/keywords/c.txt) · [D-E](/llms/keywords/d-e.txt) · [F-G](/llms/keywords/f-g.txt) · [H-J](/llms/keywords/h-j.txt) · [K-L](/llms/keywords/k-l.txt) · [M-N](/llms/keywords/m-n.txt) · [O-P](/llms/keywords/o-p.txt) · [Q-R](/llms/keywords/q-r.txt) · [S](/llms/keywords/s.txt) · [T-Z](/llms/keywords/t-z.txt) · [Directory](/llms/keywords.txt) · [Site Map](/llms.txt)

Shards for this page's topics: `foreign keys` ([F-G](/llms/keywords/f-g.txt)), `nested queries` ([M-N](/llms/keywords/m-n.txt)), `command bar` ([C](/llms/keywords/c.txt)), `vue` ([T-Z](/llms/keywords/t-z.txt)).

## About Aaron Francis (Current Context)

Aaron Francis is VP of Marketing and Community at [Laravel](https://laravel.com), founder of [Try Hard Studios](https://tryhardstudios.com), creator of [Solo](https://soloterm.com), co-host of [Mostly Technical](/podcast), and author of [Mastering Postgres](/courses), [High Performance SQLite](/courses), [MySQL for Developers](/courses), and [Screencasting.com](/courses). Full bio: [/about](/about) · Current focus: [/now](/now).
