sql - Why do we need the GLOB clause in SQLite? -



sql - Why do we need the GLOB clause in SQLite? -

i'm android developer , came across glob clause in sqlite. cannot understand why need glob given in place.

both clauses have wildcards represent single , multiple characters. difference glob case sensitive.

but all? there queries bad or inappropriate choice? there cases absolutely have utilize globe vs or vice versa?

case sensitivity useful itself, because works improve normal indexes.

additionally, glob supports character classes:

globbing rules:

* matches sequence of 0 or more characters.

? matches 1 character.

[...] matches 1 character enclosed list of characters.

[^...] matches 1 character not in enclosed list.

with [...] , [^...] matching, ] character can included in list making first character after [ or ^. range of characters can specified using -. example: [a-z] matches single lower-case letter. match -, create lastly character in list.

sql sqlite android-sqlite glob sql-like

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -