Yate Community Forum
Yate server => Other Yate server issues => Topic started by: Aldo T on July 23, 2017, 03:14:23 AM
-
Hi Team,
I try to use MySQL inside NIB.js, do you know if I need to install some additional library?
I want to create new data base with new user registration,
I will appreciate your help a lot,
Thanks in advance for your time and best regards,
//Aldo T
-
You'll need:
http://docs.yate.ro/wiki/Javascript_Message
http://docs.yate.ro/wiki/Database
http://docs.yate.ro/wiki/MySQL
Javascript:
Message.getRow() and Message.getResult() are not documented but:
Message.getRow() can be used to return an object (database row) from database query.
Message.getResult() can be used to return an array of objects (databse query result set)