public async Task Select() { LCQuery <LCObject> query = new LCQuery <LCObject>("Account"); query.Select("balance"); List <LCObject> results = await query.Find(); results.ForEach(item => { Assert.NotNull(item["balance"]); Assert.IsNull(item["user"]); }); }
public async Task Select() { LCQuery <LCObject> query = new LCQuery <LCObject>("Account"); query.Select("balance"); ReadOnlyCollection <LCObject> results = await query.Find(); foreach (LCObject item in results) { Assert.NotNull(item["balance"]); Assert.IsNull(item["user"]); } }