-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb8540b
commit a84c85b
Showing
66 changed files
with
7,776 additions
and
7,204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"Base": "C:\\Users\\Administrator\\AppData\\Local\\Temp\\v8_4102_79.sqlite", | ||
"Extension": "https://api.athenaeum.digital/test_data/uuid.dll" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"Image": "https://api.athenaeum.digital/test_data/picture.jpg" | ||
"Image": "https://api.athenaeum.digital/test_data/picture.jpg", | ||
"Extension": "https://api.athenaeum.digital/test_data/uuid.dll" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_761F_2fd.sqlite"; | ||
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_4102_79.sqlite"; | ||
Table = "test"; | ||
|
||
Result = OPI_SQLite.ClearTable(Table, Base); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_4102_79.sqlite"; | ||
Extension = "https://api.athenaeum.digital/test_data/uuid.dll"; // URL, Path or Binary Data | ||
EntryPoint = "sqlite3_uuid_init"; | ||
|
||
Connection = OPI_SQLite.CreateConnection(Base); | ||
Result = OPI_SQLite.ConnectExtension(Extension, EntryPoint, Connection); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_761F_2fd.sqlite"; | ||
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_4102_79.sqlite"; | ||
Table = "test"; | ||
|
||
Result = OPI_SQLite.DeleteTable(Table, Base); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_761F_2fd.sqlite"; | ||
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_4102_79.sqlite"; | ||
Table = "test"; | ||
|
||
Result = OPI_SQLite.GetTableInformation(Table, Base); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
sidebar_position: 5 | ||
--- | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
# Connect extension | ||
Connects the SQLite extension for the specified connection | ||
|
||
|
||
|
||
`Function ConnectExtension(Val Extension, Val EntryPoint = "", Val Connection = "") Export` | ||
|
||
| Parameter | CLI option | Type | Required | Description | | ||
|-|-|-|-|-| | ||
| Extension | - | String, BinaryData | ✔ | Extension data or filepath | | ||
| EntryPoint | - | String | ✖ | Expansion entry point, if required | | ||
| Connection | - | String, Arbitrary | ✖ | Existing connection or path to the base. In memory, if not filled | | ||
|
||
|
||
Returns: Map Of KeyAndValue - Result of extension connecting | ||
|
||
<br/> | ||
|
||
:::tip | ||
The extension is active only for the current connection. You must reconnect it each time a new connection is established | ||
|
||
Similar to using the `Extensions` parameter (`exts` in CLI) of the `ExecuteSQLQuery` function | ||
|
||
Parameters with Binary data type can also accept file paths on disk and URLs | ||
::: | ||
|
||
:::caution | ||
**NOCLI:** this method is not available in CLI version | ||
::: | ||
<br/> | ||
|
||
|
||
|
||
```bsl title="1C:Enterprise/OneScript code example" | ||
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_4102_79.sqlite"; | ||
Extension = "https://api.athenaeum.digital/test_data/uuid.dll"; // URL, Path or Binary Data | ||
EntryPoint = "sqlite3_uuid_init"; | ||
Connection = OPI_SQLite.CreateConnection(Base); | ||
Result = OPI_SQLite.ConnectExtension(Extension, EntryPoint, Connection); | ||
``` | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"Картинка": "https://api.athenaeum.digital/test_data/picture.jpg" | ||
"Картинка": "https://api.athenaeum.digital/test_data/picture.jpg", | ||
"Расширение": "https://api.athenaeum.digital/test_data/uuid.dll" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"База": "C:\\Users\\Administrator\\AppData\\Local\\Temp\\v8_4102_79.sqlite", | ||
"Расширение": "https://api.athenaeum.digital/test_data/uuid.dll" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
База = "C:\Users\Administrator\AppData\Local\Temp\v8_761F_2fd.sqlite"; | ||
База = "C:\Users\Administrator\AppData\Local\Temp\v8_4102_79.sqlite"; | ||
Таблица = "test"; | ||
|
||
Результат = OPI_SQLite.ОчиститьТаблицу(Таблица, База); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
База = "C:\Users\Administrator\AppData\Local\Temp\v8_4102_79.sqlite"; | ||
Расширение = "https://api.athenaeum.digital/test_data/uuid.dll"; // URL, Путь или Двоичные данные | ||
ТочкаВхода = "sqlite3_uuid_init"; | ||
|
||
Соединение = OPI_SQLite.ОткрытьСоединение(База); | ||
Результат = OPI_SQLite.ПодключитьРасширение(Расширение, ТочкаВхода, Соединение); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
База = "C:\Users\Administrator\AppData\Local\Temp\v8_761F_2fd.sqlite"; | ||
База = "C:\Users\Administrator\AppData\Local\Temp\v8_4102_79.sqlite"; | ||
Таблица = "test"; | ||
|
||
Результат = OPI_SQLite.ПолучитьИнформациюОТаблице(Таблица, База); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
База = "C:\Users\Administrator\AppData\Local\Temp\v8_761F_2fd.sqlite"; | ||
База = "C:\Users\Administrator\AppData\Local\Temp\v8_4102_79.sqlite"; | ||
Таблица = "test"; | ||
|
||
Результат = OPI_SQLite.УдалитьТаблицу(Таблица, База); |
Oops, something went wrong.