Add MySQL Functions to SQLite in Laravel Tests

📰 Dev.to · Recca Tsai

SQLite throws "no such function" for MySQL-specific functions like FIELD. Use PDO sqliteCreateFunction in TestCase setUp to register them and make tests pass.

Published 3 Mar 2026
Read full article → ← Back to Reads