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
Low-level access for Json
Re: Low-level access for Json
Please describe the defined task in more detail. Which database do you use in your project ?
Re: Low-level access for Json
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.
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.
Re: Low-level access for Json
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.