MySQL Forums
Forum List  »  Connector/Node.js

how do we work with rational tables in devapi?
Posted by: malous lm
Date: August 18, 2018 02:39PM

I'm using Connector/Node.js and connect through 33060 port.
according to this documentation (link 1) i can use function fetchOne but when i use it the follwing error occur:

Unhandled Rejection at: Promise Promise {
<rejected> TypeError: result.fetchOne is not a function


but in the connector documentation, there is no such a function (link 2)


my question is how do I fetch records from mysql by using nodejs-connector as rational database connector?
any help will be appreciated <3


link 1: https://dev.mysql.com/doc/x-devapi-userguide/en/devapi-users-working-with-relational-tables.html

link 2:https://dev.mysql.com/doc/dev/connector-nodejs/8.0/

Options: ReplyQuote


Subject
Written By
Posted
how do we work with rational tables in devapi?
August 18, 2018 02:39PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.