Yate server > Other Yate server issues

YATE +MYSQL

(1/1)

Aldo T:
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

marian:
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)

Navigation

[0] Message Index

Go to full version