Simon Willison’s Weblog

Subscribe

Entries tagged mysql, urls in 2012

Filters: Type: entry × Year: 2012 × mysql × urls × Sorted by date


What is the most efficient way to lookup an object (e.g. a user) by only a string?

Yes—an index on a varchar column is exactly how you would implement this.

[... 38 words]

Types

Years

Months

Tags