[asterisk-users] Can someone give a plain english explanation of the HASH function?

Alex Balashov abalashov at evaristesys.com
Sat Sep 13 21:14:24 CDT 2008


On Sat, September 13, 2008 10:08 pm, Tilghman Lesher wrote:

> Basically, it's a way to retrieve multiple values from a database without
> using ARRAY() to enumerate each field, but also without polluting the
> variable namespace, which could cause unexpected behavior, such as when
> somebody adds a field to a database table whose name happens to coincide
> with an existing variable.

Or when the domain of keys you want to use for suitable or desirable
variable names does not make.  :)

-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599




More information about the asterisk-users mailing list