3 ms·
Unlike something like friendly_id, this isn't really indexable, since n is variable in the sluggable query, at least for pg: left(id::text, n) = friendy_uu
by ezekg 6y ago
Unlike something like friendly_id, this isn't really indexable, since n is variable in the sluggable query, at least for pg:
left(id::text, n) = friendy_uuid
It always results in a sequential scan.