Low-level access for Json

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Stefano Monterisi
Posts: 23
Joined: Wed 13 Dec 2017 15:11

Low-level access for Json

Post by Stefano Monterisi » Thu 27 Feb 2020 12:43

Hi, if possible use a Low-level access in Unidac?
I need to convert data into Json avoding dataset conversion, and waiting for your implementation I must use the best access for a function that convert directly fields and values in Json pairs. Is possibile?
Thanks in advance

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Low-level access for Json

Post by MaximG » Thu 12 Mar 2020 14:32

Please describe the defined task in more detail. Which database do you use in your project ?

andrefm
Posts: 37
Joined: Wed 23 Oct 2013 10:02

Re: Low-level access for Json

Post by andrefm » Thu 02 Jul 2020 12:14

This is something I was also looking for, but as I am aware UNIDAC and the other DACs from DevArt does not provide such functionality.

What Stefano probably asked is a way to use UNIDAC "Physical Layer" without TDataSet.

For example if you look at a sample from FireDac (Physical Layer) in your Delphi installation you might see the idea:
Samples\Object Pascal\Database\FireDAC\Samples\Phys Layer\IFDPhysCommand\FetchTables

What I really like from UNIDAC compared to FIREDAC is the possibility to connect to database directly without a driver. Each component set has their own advantages, but it would be great if we could execute a query and read the data without using TDataSet. If I am not wrong it would be something like using TUniScript (which is not TDataSet descendent) and be able to simply navigate and retrieve the data from the rows one by one.

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Low-level access for Json

Post by MaximG » Mon 27 Jul 2020 10:12

We will consider adding such functionality in the future. You can leave your suggestion at our UserVoice page ( https://devart.uservoice.com/forums/104 ... y_id=18939 ). We will implement this behavior, in case if the suggested feature is of interest to our users.

Post Reply