loom
1import db : db
2//import sys : sys
3
4def int : connection = db.createConnection(
5{path:"Путь к серверу БД", login: "login", password : "password"})
6print connection
7
8if connection <= 0
9print "Ошибка соединения"
10else {
11def auto : responce = db.query(
12connection,
13"select * from order where person = @personID",
14{resonID : 123})
15print responce
16}
17