Files
mach_examples/12_rails_15_min_blog_external/seed_posts.sql
2026-03-29 19:50:15 -05:00

6 lines
630 B
SQL

INSERT INTO posts (title, body) VALUES
('Hello World',
'Welcome to the MACH blog! This post was created by the database seed. MACH is a high-performance, declarative web framework for C that lets you build full CRUD apps in a single file with zero boilerplate.'),
('Why Declarative C?',
'Traditional C web development means manual memory management, string wrangling, and security pitfalls at every turn. MACH flips the script: you declare resources, pipelines, and templates. The runtime handles allocation, prepared statements, XSS escaping, and async I/O. You get the speed of C with the ergonomics of a modern framework.');