Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-9739

[Node.js] - Transactions Mixing Key-Value and N1QL section unclear

    XMLWordPrintable

Details

    Description

      This whole section including the example doesn't make any sense. Looks like RYOW and KV + N1QL got mixed up real bad

      Mixing Key-Value and N1QL

      Key-Value operations and queries can be freely intermixed, and will interact with each other as you would expect.
      In this example we insert a document with Key-Value, and read it with a SELECT.

      Look for both the text and the example code

      See Go for reference: https://docs.couchbase.com/go-sdk/current/howtos/distributed-acid-transactions-from-the-sdk.html#mixing-key-value-and-n1ql  

      Attachments

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

        Activity

          maria.shodunke Maria Shodunke created issue -
          maria.shodunke Maria Shodunke made changes -
          Field Original Value New Value
          Link This issue Clones DOC-9730 [ DOC-9730 ]
          maria.shodunke Maria Shodunke made changes -
          Description * In the Requirements section can we call it 'Couchbase Node.js SDK' instead of 'Couchbase Node.js client' (will need to do the same for [Go|https://docs.couchbase.com/go-sdk/current/howtos/distributed-acid-transactions-from-the-sdk.html#requirements]).


           * Code Block says Java instead of JavaScript / Typescript: [https://docs.couchbase.com/nodejs-sdk/current/howtos/distributed-acid-transactions-from-the-sdk.html#key-value-reads] (second example).


           * ({*}Node.js{*} only) Probably a copy paste problem. *Java methods* should be removed.

          {quote}And an example combining SELECTs and UPDATEs. It’s possible to call regular *Java* methods from the lambda, as shown here, permitting complex logic to be performed. Just remember that since the lambda may be called multiple times, so may the method.
          {quote}
           
           * Query Performance Advice: 
          *Maximize* instead of maximise
           
           
           * Use of “Reactive API “, probably a copy paste from Java?

          {quote}Those using the reactive API to achieve concurrency should be aware that the converted Key-Value operations are subject to the same parallelism restrictions mentioned above,{quote}
          maria.shodunke Maria Shodunke made changes -
          Link This issue Clones DOC-9730 [ DOC-9730 ]
          maria.shodunke Maria Shodunke made changes -
          Description This whole section including the example doesn't make any sense. Looks like RYOW and KV + N1QL got mixed up real bad

          *Mixing Key-Value and N1QL*
          {quote}Key-Value operations and queries can be freely intermixed, and will interact with each other as you would expect.
          In this example we insert a document with Key-Value, and read it with a SELECT.{quote}
          Look for both the text and the example code
          maria.shodunke Maria Shodunke made changes -
          Description This whole section including the example doesn't make any sense. Looks like RYOW and KV + N1QL got mixed up real bad

          *Mixing Key-Value and N1QL*
          {quote}Key-Value operations and queries can be freely intermixed, and will interact with each other as you would expect.
          In this example we insert a document with Key-Value, and read it with a SELECT.{quote}
          Look for both the text and the example code
          This whole section including the example doesn't make any sense. Looks like RYOW and KV + N1QL got mixed up real bad

          *Mixing Key-Value and N1QL*
          {quote}Key-Value operations and queries can be freely intermixed, and will interact with each other as you would expect.
          In this example we insert a document with Key-Value, and read it with a SELECT.
          {quote}
          Look for both the text and the example code

          See Go for reference: [https://docs.couchbase.com/go-sdk/current/howtos/distributed-acid-transactions-from-the-sdk.html#mixing-key-value-and-n1ql]  
          maria.shodunke Maria Shodunke made changes -
          Rank Ranked higher
          maria.shodunke Maria Shodunke made changes -
          Sprint DOC-2022-S5 [ 1985 ]
          maria.shodunke Maria Shodunke made changes -
          Rank Ranked lower
          maria.shodunke Maria Shodunke made changes -
          Sprint DOC-2022-S5 [ 1985 ] DOC-2022-S4 [ 1984 ]
          maria.shodunke Maria Shodunke made changes -
          Rank Ranked higher
          maria.shodunke Maria Shodunke made changes -
          Link This issue is cloned by DOC-9742 [ DOC-9742 ]
          maria.shodunke Maria Shodunke made changes -
          Link This issue is cloned by DOC-9742 [ DOC-9742 ]
          maria.shodunke Maria Shodunke made changes -
          Rank Ranked higher
          simon.dew Simon Dew made changes -
          Sprint DOC-2022-S4 [ 1984 ] DOC-2022-S4, DOC-2022-S5 [ 1984, 1985 ]
          simon.dew Simon Dew made changes -
          Sprint DOC-2022-S4, DOC-2022-S5 [ 1984, 1985 ] DOC-2022-S4, DOC-2022-S5, DOC-2022-S6 [ 1984, 1985, 2019 ]
          maria.shodunke Maria Shodunke made changes -
          Rank Ranked lower
          simon.dew Simon Dew made changes -
          Sprint DOC-2022-S4, DOC-2022-S5, DOC-2022-S6 [ 1984, 1985, 2019 ] DOC-2022-S4, DOC-2022-S5, DOC-2022-S6, DOC-2022-S7 [ 1984, 1985, 2019, 2020 ]
          simon.dew Simon Dew made changes -
          Sprint DOC-2022-S4, DOC-2022-S5, DOC-2022-S6, DOC-2022-S7 [ 1984, 1985, 2019, 2020 ] DOC-2022-S4, DOC-2022-S5, DOC-2022-S6, DOC-2022-S7, DOC-2022-S8 [ 1984, 1985, 2019, 2020, 2038 ]
          simon.dew Simon Dew made changes -
          Sprint DOC-2022-S4, DOC-2022-S5, DOC-2022-S6, DOC-2022-S7, DOC-2022-S8 [ 1984, 1985, 2019, 2020, 2038 ] DOC-2022-S4, DOC-2022-S5, DOC-2022-S6, DOC-2022-S7, DOC-2022-S8, DOC-2022-S9 [ 1984, 1985, 2019, 2020, 2038, 2056 ]
          simon.dew Simon Dew made changes -
          Sprint DOC-2022-S4, DOC-2022-S5, DOC-2022-S6, DOC-2022-S7, DOC-2022-S8, DOC-2022-S9 [ 1984, 1985, 2019, 2020, 2038, 2056 ] DOC-2022-S4, DOC-2022-S5, DOC-2022-S6, DOC-2022-S7, DOC-2022-S8, DOC-2022-S9, DOC-2022-S10 [ 1984, 1985, 2019, 2020, 2038, 2056, 2057 ]
          simon.dew Simon Dew made changes -
          Sprint DOC-2022-S4, DOC-2022-S5, DOC-2022-S6, DOC-2022-S7, DOC-2022-S8, DOC-2022-S9, DOC-2022-S10 [ 1984, 1985, 2019, 2020, 2038, 2056, 2057 ] DOC-2022-S4, DOC-2022-S5, DOC-2022-S6, DOC-2022-S7, DOC-2022-S8, DOC-2022-S9, DOC-2022-S10, DOC-2022-S11 [ 1984, 1985, 2019, 2020, 2038, 2056, 2057, 2095 ]
          maria.shodunke Maria Shodunke made changes -
          Sprint DOC-2022-S4, DOC-2022-S5, DOC-2022-S6, DOC-2022-S7, DOC-2022-S8, DOC-2022-S9, DOC-2022-S10, DOC-2022-S11 [ 1984, 1985, 2019, 2020, 2038, 2056, 2057, 2095 ] DOC-2022-S4, DOC-2022-S5, DOC-2022-S6, DOC-2022-S7, DOC-2022-S8, DOC-2022-S9, DOC-2022-S10 [ 1984, 1985, 2019, 2020, 2038, 2056, 2057 ]
          maria.shodunke Maria Shodunke made changes -
          Rank Ranked lower

          People

            maria.shodunke Maria Shodunke
            maria.shodunke Maria Shodunke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty