-
Notifications
You must be signed in to change notification settings - Fork 664
RETURN
Mathias Rangel Wulff edited this page Feb 17, 2017
·
2 revisions
Used with the SEARCH keyword. Defines what to return.
Example:
var res = alasql("SEARCH / AS @user Members / AS @member \
RETURN(@user->Id AS UserId, @user->Name AS UserName, \
@member->Name AS MemberName, @member->Age AS MemberAge) \
INTO XLSX('member_Track.xlsx',{headers:true,sheetid:'member_Track'}) \
FROM $0 ",[users]);
See https://github.com/agershun/alasql/issues/826 for more details
See also: SEARCH
© 2014-2024, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo