We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 73df1be + 5eba059 commit 0d408e3Copy full SHA for 0d408e3
src/core/Ragna.Impl.pas
@@ -174,14 +174,14 @@ procedure TRagna.ToJson(out AJSON: TJSONObject);
174
175
function TRagna.ToJSONArray: TJSONArray;
176
begin
177
- Result := FQuery.ToJSONArray;
+ Result := (FQuery as TDataSet).ToJSONArray;
178
end;
179
180
function TRagna.ToJSONObject: TJSONObject;
181
182
if FQuery.IsEmpty then
183
RaiseNotFound;
184
- Result := FQuery.ToJSONObject;
+ Result := (FQuery as TDataSet).ToJSONObject;
185
186
187
procedure TRagna.ToJson(out AJSON: TJSONArray);
0 commit comments