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:
		| @@ -1,5 +1,5 @@ | ||||
| --- | ||||
| sidebar_position: 3 | ||||
| sidebar_position: 4 | ||||
| --- | ||||
|  | ||||
| import Tabs from '@theme/Tabs'; | ||||
|   | ||||
							
								
								
									
										39
									
								
								docs/en/md/SQLite/Common-methods/Is-connector.mdx
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								docs/en/md/SQLite/Common-methods/Is-connector.mdx
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | ||||
| --- | ||||
| sidebar_position: 3 | ||||
| --- | ||||
|  | ||||
| import Tabs from '@theme/Tabs'; | ||||
| import TabItem from '@theme/TabItem'; | ||||
|  | ||||
| # Is connector  | ||||
|  Checks that the value is an object of a SQLite AddIn | ||||
|  | ||||
|  | ||||
|  | ||||
| `Function IsConnector(Val Value) Export` | ||||
|  | ||||
|   | Parameter | CLI option | Type | Required | Description | | ||||
|   |-|-|-|-|-| | ||||
|   | Value | - | Arbitrary | ✔ | Value to check | | ||||
|  | ||||
|    | ||||
|   Returns:  Boolean - Is connector | ||||
|  | ||||
| <br/> | ||||
|  | ||||
|  | ||||
| :::caution | ||||
| **NOCLI:** this method is not available in CLI version | ||||
| ::: | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|  | ||||
| ```bsl title="1C:Enterprise/OneScript code example" | ||||
|  | ||||
| ``` | ||||
|   | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
							
								
								
									
										2
									
								
								docs/en/md/SQLite/Orm/Add-records.mdx
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								docs/en/md/SQLite/Orm/Add-records.mdx
									
									
									
									
										vendored
									
									
								
							| @@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem'; | ||||
|     PictureFile = GetTempFileName("png"); | ||||
|     Image.Write(PictureFile); // PictureFile - File to disk | ||||
|  | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_BCCE_11.sqlite"; | ||||
|     Table = "test"; | ||||
|  | ||||
|     DataArray = New Array; | ||||
|   | ||||
							
								
								
									
										7
									
								
								docs/en/md/SQLite/Orm/Create-table.mdx
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								docs/en/md/SQLite/Orm/Create-table.mdx
									
									
									
									
										vendored
									
									
								
							| @@ -10,13 +10,12 @@ import TabItem from '@theme/TabItem'; | ||||
|  | ||||
|  | ||||
|  | ||||
| `Function CreateTable(Val Table, Val ColoumnsStruct, Val NotExecute = False, Val Connection = "") Export` | ||||
| `Function CreateTable(Val Table, Val ColoumnsStruct, Val Connection = "") Export` | ||||
|  | ||||
|   | Parameter | CLI option | Type | Required | Description | | ||||
|   |-|-|-|-|-| | ||||
|   | Table | --table | String | ✔ | Table name | | ||||
|   | ColoumnsStruct | --cols | Structure Of KeyAndValue | ✔ | Column structure: Key > Name, Value > Data type | | ||||
|   | NotExecute | --noex | Boolean | ✖ | True > Does not execute the query, but returns SQL text | | ||||
|   | Connection | --db | String, Arbitrary | ✖ | Existing connection or database path | | ||||
|  | ||||
|    | ||||
| @@ -28,7 +27,7 @@ import TabItem from '@theme/TabItem'; | ||||
|  | ||||
|  | ||||
| ```bsl title="1C:Enterprise/OneScript code example" | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_BCCE_11.sqlite"; | ||||
|     Table = "test"; | ||||
|  | ||||
|     ColoumnsStruct = New Structure; | ||||
| @@ -40,7 +39,7 @@ import TabItem from '@theme/TabItem'; | ||||
|     ColoumnsStruct.Insert("created_at", "DATETIME"); | ||||
|     ColoumnsStruct.Insert("data"      , "BLOB"); | ||||
|  | ||||
|     Result = OPI_SQLite.CreateTable(Table, ColoumnsStruct, , Base); | ||||
|     Result = OPI_SQLite.CreateTable(Table, ColoumnsStruct, Base); | ||||
| ``` | ||||
|   | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| --- | ||||
| sidebar_position: 4 | ||||
| sidebar_position: 5 | ||||
| --- | ||||
|  | ||||
| import Tabs from '@theme/Tabs'; | ||||
|   | ||||
							
								
								
									
										2
									
								
								docs/en/md/SQLite/Orm/Get-records.mdx
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								docs/en/md/SQLite/Orm/Get-records.mdx
									
									
									
									
										vendored
									
									
								
							| @@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem'; | ||||
|  | ||||
|  | ||||
| ```bsl title="1C:Enterprise/OneScript code example" | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_BCCE_11.sqlite"; | ||||
|     Table = "test"; | ||||
|  | ||||
|     Fields = New Array; | ||||
|   | ||||
							
								
								
									
										37
									
								
								docs/en/md/SQLite/Orm/Update-records.mdx
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								docs/en/md/SQLite/Orm/Update-records.mdx
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,37 @@ | ||||
| --- | ||||
| sidebar_position: 4 | ||||
| --- | ||||
|  | ||||
| import Tabs from '@theme/Tabs'; | ||||
| import TabItem from '@theme/TabItem'; | ||||
|  | ||||
| # Update records | ||||
|  Updates the value of records by selected criteria | ||||
|  | ||||
|  | ||||
|  | ||||
| `Function UpdateRecords(Val Table, Val ValueStructure, Val Filters = "", Val Connection = "") Export` | ||||
|  | ||||
|   | Parameter | CLI option | Type | Required | Description | | ||||
|   |-|-|-|-|-| | ||||
|   | Table | --table | String | ✔ | Table name | | ||||
|   | ValueStructure | --values | Structure Of KeyAndValue | ✔ | Values structure: Key > field, Value > field value | | ||||
|   | Filters | --filter | Array of Structure | ✖ | Filters array. See GetRecordsFilterStrucutre | | ||||
|   | Connection | --db | String, Arbitrary | ✖ | Existing connection or database path | | ||||
|  | ||||
|    | ||||
|   Returns:  Structure Of KeyAndValue, String - Result of query execution | ||||
|  | ||||
| <br/> | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ```bsl title="1C:Enterprise/OneScript code example" | ||||
|  | ||||
| ``` | ||||
|   | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user