Recognize if there is no find result

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Async, Query Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I'm using the asynchronous java driver. I hope you can help me to solve the problem of the following scenario.

      First, using the "find" operator I want to check if there is an entry in my collection. If yes, the callback will be called and I can use it. If there is no entry in my collection, my application should generate this value and persist it. But how could I recognize that "find" can't find any entry?

            Assignee:
            Unassigned
            Reporter:
            Ben [X]
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: