You've already forked OpenIntegrations
							
							
				mirror of
				https://github.com/Bayselonarrend/OpenIntegrations.git
				synced 2025-10-30 23:47:46 +02:00 
			
		
		
		
	Main build (Jenkins)
This commit is contained in:
		
							
								
								
									
										4
									
								
								docs/en/examples/SQLite/CreateConnection.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								docs/en/examples/SQLite/CreateConnection.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
|     TFN = GetTempFileName("sqlite"); | ||||
|  | ||||
|     LocalBase    = OPI_SQLite.CreateConnection(TFN); | ||||
|     InMemoryBase = OPI_SQLite.CreateConnection(); | ||||
							
								
								
									
										39
									
								
								docs/en/md/SQLite/Common-methods/Close-connection.mdx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								docs/en/md/SQLite/Common-methods/Close-connection.mdx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | ||||
| --- | ||||
| sidebar_position: 2 | ||||
| --- | ||||
|  | ||||
| import Tabs from '@theme/Tabs'; | ||||
| import TabItem from '@theme/TabItem'; | ||||
|  | ||||
| # Close connection  | ||||
|  Explicitly closes the passed connection | ||||
|  | ||||
|  | ||||
|  | ||||
| `Function CloseConnection(Val Connection) Export` | ||||
|  | ||||
|   | Parameter | CLI option | Type | Required | Description | | ||||
|   |-|-|-|-|-| | ||||
|   | Connection | - | Arbitrary | ✔ | AddIn object with open connection | | ||||
|  | ||||
|    | ||||
|   Returns:  Structure Of KeyAndValue - Result of connection termination | ||||
|  | ||||
| <br/> | ||||
|  | ||||
|  | ||||
| :::caution | ||||
| **NOCLI:** this method is not available in CLI version | ||||
| ::: | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|  | ||||
| ```bsl title="1C:Enterprise/OneScript code example" | ||||
|  | ||||
| ``` | ||||
|   | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| @@ -30,7 +30,10 @@ import TabItem from '@theme/TabItem'; | ||||
|  | ||||
|  | ||||
| ```bsl title="1C:Enterprise/OneScript code example" | ||||
|     TFN = GetTempFileName("sqlite"); | ||||
|  | ||||
|     LocalBase    = OPI_SQLite.CreateConnection(TFN); | ||||
|     InMemoryBase = OPI_SQLite.CreateConnection(); | ||||
| ``` | ||||
|   | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| --- | ||||
| sidebar_position: 2 | ||||
| sidebar_position: 3 | ||||
| --- | ||||
|  | ||||
| import Tabs from '@theme/Tabs'; | ||||
| @@ -10,14 +10,14 @@ import TabItem from '@theme/TabItem'; | ||||
|  | ||||
|  | ||||
|  | ||||
| `Function ExecuteSQLQuery(Val QueryText, Val Parameters = "", Val ForceResult = False,Val Connection = "") Export` | ||||
| `Function ExecuteSQLQuery(Val QueryText, Val Parameters = "", Val ForceResult = False, Val Connection = "") Export` | ||||
|  | ||||
|   | Parameter | CLI option | Type | Required | Description | | ||||
|   |-|-|-|-|-| | ||||
|   | QueryText | --sql | String | ✔ | Database query text | | ||||
|   | Parameters | --params | Array Of Arbitrary | ✖ | Array of positional parameters of the request | | ||||
|   | ForceResult | --force | Boolean | ✖ | Includes an attempt to retrieve the result, even for nonSELECT queries | | ||||
|   | Connection | --db | String | ✖ | Existing connection or path to the base. In memory, if not filled | | ||||
|   | Connection | --db | String, Arbitrary | ✖ | Existing connection or path to the base. In memory, if not filled | | ||||
|  | ||||
|    | ||||
|   Returns:  Structure Of KeyAndValue - Result of query execution | ||||
|   | ||||
		Reference in New Issue
	
	Block a user