Changes between Version 17 and Version 18 of SQL
- Timestamp:
- Oct 3, 2013, 2:33:35 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SQL
v17 v18 11 11 12 12 API contains two packages. The [browser:trunk/matreshka/source/sql/sql-databases.ads SQL.Databases] package provides SQL_Database type to connect to database server and manage transactions, and the [browser:trunk/matreshka/source/sql/sql-queries.ads SQL.Queries] package provides SQL_Query type to prepare, bind, execute queries and retrieve results. 13 14 == Thread safety == 15 16 It is safe to use SQL_Database object and associated SQL_Query objects from any task (thread) till non of them are accessed simultaneously. So, SQL_Database and SQL_Query objects can be created in one thread and used in another, but any objects can't be used from different threads in the same time. 17 18 It is application's responsibility to protect object from access from different threads. 13 19 14 20 == Example ==