Files
mach_examples/12_rails_15_min_blog_external/seed_posts.sql

6 lines
630 B
MySQL
Raw Normal View History

2025-07-24 12:46:01 -05:00
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.');