v1.0.1
dart_mssql
Dart के लिए उच्च प्रदर्शन माइक्रोसॉफ्ट SQL सर्वर ड्राइवर (32 और 64 बिट)
32लाइक 12630-दिन डाउनलोड40Pub अंक
प्लेटफ़ॉर्म डेटा नहीं
Dart के लिए उच्च प्रदर्शन माइक्रोसॉफ्ट SQL सर्वर ड्राइवर (32 और 64 बिट)
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
High Performance Microsoft SQL Server (MS-SQL Server) Driver for Dart (32 & 64bits)
Demo code to perform Raw SQL queries
import 'dart:io';
import 'package:dart_mssql/dart_mssql.dart';
void main() async {
SqlConnection connection = SqlConnection(host:"SERVERNAME", db:"DBNAME", user:"USERNAME", password:"PASSWORD");
String cmd = "select email from usuario where id_usuario=?";
SqlResult result = connection.execute(cmd,[4]);
result.rows.forEach((e) {
print("${e.email}");
});
print("end of printing.");
connection.close();
stdin.readLineSync();
}
Problem:
The specified module could not be found.
error: library handler failed
Cause:
Missing installing Microsoft OLE DB Driver OR missing dart_mssql.dll file into project main directory OR missing Microsoft Visual C++ Redistributable
Solution:
Copy dart_mssql.dll file into project main directory.
Problem:
%1 is not a valid Win32 application.
error: library handler failed
Cause:
incorrect dart_mssql.dll version (32 bits with dart VM 64 bits or vice versa)
Solution:
Copy correct dart_mssql.dll file into project main directory.
IF AND ONLY IF you want to compile library source code (C++ part) follow the instructions below:
निर्भरता सूची 6 आइटम
^1.1.6^1.14.11^0.2.0^0.2.0^0.2.1^0.2.2उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗