2025-03-27 20:05:59 +03:00
---
sidebar_position: 3
2025-05-05 11:15:20 +03:00
description: Is connector and other functions to work with MySQL in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
2025-05-05 09:49:19 +03:00
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, MySQL]
2025-03-27 20:05:59 +03:00
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Is connector
Checks that the value is an object of an MySQL 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"
2025-06-29 14:35:33 +03:00
Address = "127.0.0.1";
2025-03-27 20:05:59 +03:00
Login = "bayselonarrend";
2025-06-29 14:35:33 +03:00
Password = "12we...";
2025-03-27 20:05:59 +03:00
Base = "";
ConnectionString = OPI_MySQL.GenerateConnectionString(Address, Base, Login, Password);
Connection = OPI_MySQL.CreateConnection(ConnectionString);
Result = OPI_MySQL.IsConnector(Connection);
OPI_MySQL.CloseConnection(Result);
```
2025-04-06 17:14:16 +03:00
```json title="Result"
true
```