Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-23705

jsondb query result type could be more friendly to native access

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.0.0
    • (Inactive) JsonDB
    • None

    Description

      The slot signature for JsonDbClient query result is a QVariant, documented to always be a QVariantMap, documented to carry a fixed set of values accessible by keys "data", "length", and "offset". All this useless dynamicity makes the API more tedious and error-prone in usage, and has a performance cost to wrap the result data inside the library and use it in native clients. Could there be a dedicated result type with fast property accessors for native clients, plus QML bindings for dynamic ones?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dzyubenk Denis Dzyubenko (Inactive)
            mzabaluev Mikhail Zabaluev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes