Problem Get Array

Arran Cudbard-Bell a.cudbardb at freeradius.org
Sat Jul 16 02:04:15 CEST 2016


> On Jul 15, 2016, at 7:07 PM, Alan DeKok <aland at deployingradius.com> wrote:
> 
> On Jul 15, 2016, at 6:58 PM, تعلم البرمجة <mido2010bona at gmail.com> wrote:
>> I Can`t Get array in db by SELECT *
> 
>  The server only supports strings as return data from SELECT.

Unless you're doing maps, in which case it does support multivalued attributes e.g.

map sql "SELECT `column` FROM profiles WHERE id=1" {
	&control:Tmp-String-1 += 'column'
}

That only works in >= v3.1.x though.

-Arran
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160715/cbfc3daf/attachment.sig>


More information about the Freeradius-Users mailing list