mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
331 B
TypeScript
14 lines
331 B
TypeScript
import sqlanywhere = require("sqlanywhere");
|
|
|
|
const connection: sqlanywhere.SybaseConnection = sqlanywhere.createConnection();
|
|
connection.connect(
|
|
{
|
|
Host: "test",
|
|
UserId: "Test",
|
|
Password: "Test",
|
|
Server: "Test"
|
|
},
|
|
err => err
|
|
);
|
|
connection.exec("SELECT * FROM TEST", (err, res) => res);
|