From: http://spservices.codeplex.com/discussions/397146
Okay, here's what I changed to allow people to add any query options they want. I created this as a patch in WinMerge. So, to translate, that means at line 1422 I added a line as written. Added more lines at 1492 (new lines 1494-1496). Removed the line at 1512 and replaces it with the new line as written below the removed line.
1422a1423
> var QOptions = " <IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns> ";
1492a1494,1496
> if(opt.QueryOptions.length > 0) {
> QOptions += opt.QueryOptions;
> }
1512c1516,1517
< CAMLQueryOptions: "<QueryOptions><IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns></QueryOptions>",
---
> CAMLQueryOptions: "<QueryOptions>" + QOptions + "</QueryOptions>",
>
Okay, here's what I changed to allow people to add any query options they want. I created this as a patch in WinMerge. So, to translate, that means at line 1422 I added a line as written. Added more lines at 1492 (new lines 1494-1496). Removed the line at 1512 and replaces it with the new line as written below the removed line.
1422a1423
> var QOptions = " <IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns> ";
1492a1494,1496
> if(opt.QueryOptions.length > 0) {
> QOptions += opt.QueryOptions;
> }
1512c1516,1517
< CAMLQueryOptions: "<QueryOptions><IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns></QueryOptions>",
---
> CAMLQueryOptions: "<QueryOptions>" + QOptions + "</QueryOptions>",
>