Skip to content

Repository files navigation

English | 日本語

SQL Server Connector

Native Irodori Table connector extension for SQL Server.

This crate packages the connector metadata, native ABI exports, and driver implementation used by the Irodori extension marketplace.

Connector

  • Extension ID: irodori.sqlserver
  • Engine ID: sqlserver
  • Wire protocol: sqlserver
  • Default port: 1433
  • Native ABI: irodori.connector.native.v1
  • Driver linked: yes
  • Marketplace visibility: public
  • Package version: 0.1.4

The package includes a desktop adapter source snapshot from db/mssql.rs.

Connector metadata lives in connector.config.json and irodori.extension.json. The Rust crate exports the native ABI from src/lib.rs, uses irodori-connector-abi for shared JSON/buffer helpers, and keeps connector behavior in src/driver.rs.

Connection Metadata

  • Endpoint modes: hostPort, connectionString
  • Transport modes: direct, sshTunnel, socks5Proxy, httpConnectProxy, proxyChain
  • TLS supported: yes
  • TLS required by default: no
  • Custom driver options: yes

Endpoint Fields

Field Label Type Required
host Host string yes
port Port number no
database Database string no

Authentication

The connector advertises these authentication modes so clients can render the right credential fields. Driver-specific or provider-specific values can still be passed through options when needed.

Auth method Label Kind Secret purposes
none No authentication none none
connectionString Connection string / DSN connectionString none
sqlPassword SQL Server user/password userPassword password
windowsIntegrated Windows integrated / Kerberos kerberos token
azureAd Azure AD / Entra ID azureAd token
servicePrincipal Service principal oauth2 token
servicePrincipalCertificate Service principal certificate oauth2 privateKey, privateKeyPassphrase
managedIdentity Managed identity managedIdentity none
accessToken Access token token token
customDriverOptions Custom driver options custom password, token, privateKey, privateKeyPassphrase

Native ABI Calls

Method Response
health Returns connector health, engine id, ABI version, and driver status.
describe Returns the embedded manifest and connector config.
manifest Returns raw irodori.extension.json.
config Returns raw connector.config.json.
connect Opens and validates a native connector connection.
query Runs a connector query and returns structured rows or JSON results.
metadata Reads schemas, tables, columns, indexes, collections, or equivalent metadata.
close Closes and removes a cached native connection.

Development

All extension crates in this checkout share ../target so dependencies compile once across sibling repositories.

make check
make build

Release packages place platform-specific native artifacts under dist/native.

License

0BSD. You can use, copy, modify, and distribute this project for almost any purpose.

About

Irodori Table SQL Server connector extension

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages