diff --git a/docs/driver.rst b/docs/driver.rst index a90d991e7..543c82d38 100644 --- a/docs/driver.rst +++ b/docs/driver.rst @@ -151,7 +151,7 @@ a set with more than one elements, the ``Client`` will throw a runtime error. .. code-block:: js - await client.querySingle(`select 2 + 2;`); // [4] + await client.querySingle(`select 2 + 2;`); // 4 await client.querySingle(`select [1, 2, 3];`); // [1, 2, 3] await client.querySingle(`select {};`); // null await client.querySingle(`select {1, 2, 3};`); // Error