51 words, 1 min read
⚠️ This post links to an external website. ⚠️
The
whereFulltextmethod in Laravel allows developers to perform full-text searches on columns indexed withFULLTEXTin MySQL and PostgreSQL (docs). This method is useful for searching large datasets efficiently, especially for text-based searches. However, while it enhances search performance, it has some caveats, particularly when used in tests withRefreshDatabase.
continue reading on dev.to
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.