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

Incorrect example for JsonDbClient::query()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.0.0
    • (Inactive) JsonDB
    • None

    Description

      The JsonDbClient::query() with bindings example uses binding name with '%', but it should be plain name, e.g. like in the JsonDbQuery::bindValue() example.
      Currently:
      bindings.insert(QLatin1String("%name"), name);

      Should be:
      bindings.insert(QLatin1String("name"), name);

      Attachments

        For Gerrit Dashboard: QTBUG-23923
        # Subject Branch Project Status CR V

        Activity

          People

            dzyubenk Denis Dzyubenko (Inactive)
            artem Artem Garmash
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes