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/data/SQLite/AddRecords.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								docs/en/data/SQLite/AddRecords.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| { | ||||
| "Image": "https://api.athenaeum.digital/test_data/picture.jpg", | ||||
| "Base": "C:\\Users\\Administrator\\AppData\\Local\\Temp\\v8_F86A_11.sqlite" | ||||
| } | ||||
							
								
								
									
										31
									
								
								docs/en/examples/SQLite/AddRecords.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								docs/en/examples/SQLite/AddRecords.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | ||||
|     Image = "https://api.athenaeum.digital/test_data/picture.jpg"; | ||||
|     OPI_TypeConversion.GetBinaryData(Image); // Image - Type: BinaryData | ||||
|  | ||||
|     PictureFile = GetTempFileName("png"); | ||||
|     Image.Write(PictureFile); // PictureFile - File to disk | ||||
|  | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Table = "test"; | ||||
|  | ||||
|     DataArray = New Array; | ||||
|  | ||||
|     RowStructure2 = New Structure; | ||||
|     RowStructure2.Insert("name"      , "Vitaly"); // TEXT | ||||
|     RowStructure2.Insert("age"       , 25); // INTEGER | ||||
|     RowStructure2.Insert("salary"    , 1000.12); // REAL | ||||
|     RowStructure2.Insert("is_active" , True); // BOOL | ||||
|     RowStructure2.Insert("created_at", OPI_Tools.GetCurrentDate()); // DATETIME | ||||
|     RowStructure2.Insert("data"      , Image); // BLOB | ||||
|  | ||||
|     RowStrucutre1 = New Structure; | ||||
|     RowStrucutre1.Insert("name"      , "Lesha") ; // TEXT | ||||
|     RowStrucutre1.Insert("age"       , 20); // INTEGER | ||||
|     RowStrucutre1.Insert("salary"    , 200.20) ; // REAL | ||||
|     RowStrucutre1.Insert("is_active" , False) ; // BOOL | ||||
|     RowStrucutre1.Insert("created_at", OPI_Tools.GetCurrentDate()); // DATETIME | ||||
|     RowStrucutre1.Insert("data"      , New Structure("blob", PictureFile)); // BLOB | ||||
|  | ||||
|     DataArray.Add(RowStructure2); | ||||
|     DataArray.Add(RowStrucutre1); | ||||
|  | ||||
|     Result = OPI_SQLite.AddRecords(Table, DataArray, , Base); | ||||
							
								
								
									
										2
									
								
								docs/en/examples/SQLite/CreateTable.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								docs/en/examples/SQLite/CreateTable.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,4 @@ | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_1E64_48.sqlite"; | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Table = "test"; | ||||
|  | ||||
|     ColoumnsStruct = New Structure; | ||||
|   | ||||
							
								
								
									
										3
									
								
								docs/en/examples/SQLite/GetRecords.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								docs/en/examples/SQLite/GetRecords.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,4 @@ | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_1E64_48.sqlite"; | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Table = "test"; | ||||
|  | ||||
|     Fields = New Array; | ||||
| @@ -20,7 +20,6 @@ | ||||
|     FilterStructure2.Insert("field", "age"); | ||||
|     FilterStructure2.Insert("type" , "BETWEEN"); | ||||
|     FilterStructure2.Insert("value", "20 AND 30"); | ||||
|     FilterStructure2.Insert("union", ""); | ||||
|     FilterStructure2.Insert("raw"  , True); | ||||
|  | ||||
|     Filters.Add(FilterStructure1); | ||||
|   | ||||
| @@ -10,7 +10,7 @@ import TabItem from '@theme/TabItem'; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| `Function AddRows(Val Table, Val DataArray, Val Transaction = True, Val Connection = "") Export` | ||||
| `Function AddRecords(Val Table, Val DataArray, Val Transaction = True, Val Connection = "") Export` | ||||
| 
 | ||||
|   | Parameter | CLI option | Type | Required | Description | | ||||
|   |-|-|-|-|-| | ||||
| @@ -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_1E64_48.sqlite"; | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Table = "test"; | ||||
| 
 | ||||
|     DataArray = New Array; | ||||
| @@ -58,7 +58,7 @@ import TabItem from '@theme/TabItem'; | ||||
|     DataArray.Add(RowStructure2); | ||||
|     DataArray.Add(RowStrucutre1); | ||||
| 
 | ||||
|     Result = OPI_SQLite.AddRows(Table, DataArray, , Base); | ||||
|     Result = OPI_SQLite.AddRecords(Table, DataArray, , Base); | ||||
| ``` | ||||
|   | ||||
| 
 | ||||
							
								
								
									
										2
									
								
								docs/en/md/SQLite/Orm/Create-table.mdx
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								docs/en/md/SQLite/Orm/Create-table.mdx
									
									
									
									
										vendored
									
									
								
							| @@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem'; | ||||
|  | ||||
|  | ||||
| ```bsl title="1C:Enterprise/OneScript code example" | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_1E64_48.sqlite"; | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Table = "test"; | ||||
|  | ||||
|     ColoumnsStruct = New Structure; | ||||
|   | ||||
							
								
								
									
										3
									
								
								docs/en/md/SQLite/Orm/Get-records.mdx
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								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_1E64_48.sqlite"; | ||||
|     Base  = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Table = "test"; | ||||
|  | ||||
|     Fields = New Array; | ||||
| @@ -52,7 +52,6 @@ import TabItem from '@theme/TabItem'; | ||||
|     FilterStructure2.Insert("field", "age"); | ||||
|     FilterStructure2.Insert("type" , "BETWEEN"); | ||||
|     FilterStructure2.Insert("value", "20 AND 30"); | ||||
|     FilterStructure2.Insert("union", ""); | ||||
|     FilterStructure2.Insert("raw"  , True); | ||||
|  | ||||
|     Filters.Add(FilterStructure1); | ||||
|   | ||||
							
								
								
									
										2
									
								
								docs/ru/examples/SQLite/ДобавитьЗаписи.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								docs/ru/examples/SQLite/ДобавитьЗаписи.txt
									
									
									
									
										vendored
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|     ФайлКартинки = ПолучитьИмяВременногоФайла("png"); | ||||
|     Картинка.Записать(ФайлКартинки);                          // ФайлКартинки - Файл на диске | ||||
|  | ||||
|     База    = "C:\Users\Administrator\AppData\Local\Temp\v8_1E64_48.sqlite"; | ||||
|     База    = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Таблица = "test"; | ||||
|  | ||||
|     МассивДанных = Новый Массив; | ||||
|   | ||||
							
								
								
									
										3
									
								
								docs/ru/examples/SQLite/ПолучитьЗаписи.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								docs/ru/examples/SQLite/ПолучитьЗаписи.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,4 @@ | ||||
|     База    = "C:\Users\Administrator\AppData\Local\Temp\v8_1E64_48.sqlite"; | ||||
|     База    = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Таблица = "test"; | ||||
|  | ||||
|     Поля = Новый Массив; | ||||
| @@ -20,7 +20,6 @@ | ||||
|     СтруктураФильтра2.Вставить("field", "age"); | ||||
|     СтруктураФильтра2.Вставить("type" , "BETWEEN"); | ||||
|     СтруктураФильтра2.Вставить("value", "20 AND 30"); | ||||
|     СтруктураФильтра2.Вставить("union", ""); | ||||
|     СтруктураФильтра2.Вставить("raw"  , Истина); | ||||
|  | ||||
|     Фильтры.Добавить(СтруктураФильтра1); | ||||
|   | ||||
							
								
								
									
										2
									
								
								docs/ru/examples/SQLite/СоздатьТаблицу.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								docs/ru/examples/SQLite/СоздатьТаблицу.txt
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,4 @@ | ||||
|     База    = "C:\Users\Administrator\AppData\Local\Temp\v8_1E64_48.sqlite"; | ||||
|     База    = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Таблица = "test"; | ||||
|  | ||||
|     СтруктураКолонок = Новый Структура; | ||||
|   | ||||
| @@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem'; | ||||
|     ФайлКартинки = ПолучитьИмяВременногоФайла("png"); | ||||
|     Картинка.Записать(ФайлКартинки);                          // ФайлКартинки - Файл на диске | ||||
| 
 | ||||
|     База    = "C:\Users\Administrator\AppData\Local\Temp\v8_1E64_48.sqlite"; | ||||
|     База    = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Таблица = "test"; | ||||
| 
 | ||||
|     МассивДанных = Новый Массив; | ||||
							
								
								
									
										2
									
								
								docs/ru/md/SQLite/Orm/Create-table.mdx
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								docs/ru/md/SQLite/Orm/Create-table.mdx
									
									
									
									
										vendored
									
									
								
							| @@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem'; | ||||
|  | ||||
|  | ||||
| ```bsl title="Пример использования для 1С:Предприятие/OneScript" | ||||
|     База    = "C:\Users\Administrator\AppData\Local\Temp\v8_1E64_48.sqlite"; | ||||
|     База    = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Таблица = "test"; | ||||
|  | ||||
|     СтруктураКолонок = Новый Структура; | ||||
|   | ||||
							
								
								
									
										3
									
								
								docs/ru/md/SQLite/Orm/Get-records.mdx
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								docs/ru/md/SQLite/Orm/Get-records.mdx
									
									
									
									
										vendored
									
									
								
							| @@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem'; | ||||
|  | ||||
|  | ||||
| ```bsl title="Пример использования для 1С:Предприятие/OneScript" | ||||
|     База    = "C:\Users\Administrator\AppData\Local\Temp\v8_1E64_48.sqlite"; | ||||
|     База    = "C:\Users\Administrator\AppData\Local\Temp\v8_F86A_11.sqlite"; | ||||
|     Таблица = "test"; | ||||
|  | ||||
|     Поля = Новый Массив; | ||||
| @@ -52,7 +52,6 @@ import TabItem from '@theme/TabItem'; | ||||
|     СтруктураФильтра2.Вставить("field", "age"); | ||||
|     СтруктураФильтра2.Вставить("type" , "BETWEEN"); | ||||
|     СтруктураФильтра2.Вставить("value", "20 AND 30"); | ||||
|     СтруктураФильтра2.Вставить("union", ""); | ||||
|     СтруктураФильтра2.Вставить("raw"  , Истина); | ||||
|  | ||||
|     Фильтры.Добавить(СтруктураФильтра1); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user