Skip to content

Commit 8c34858

Browse files
authored
Merge branch 'main' into saumya/emoji-support
2 parents 7cd9911 + 12245e8 commit 8c34858

File tree

11 files changed

+6226
-57
lines changed

11 files changed

+6226
-57
lines changed

mssql_python/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
# Constants
4848
from .constants import ConstantsDDBC
4949

50+
# Export specific constants for setencoding()
51+
SQL_CHAR = ConstantsDDBC.SQL_CHAR.value
52+
SQL_WCHAR = ConstantsDDBC.SQL_WCHAR.value
53+
SQL_WMETADATA = -99
54+
5055
# GLOBALS
5156
# Read-Only
5257
apilevel = "2.0"
@@ -71,4 +76,3 @@ def pooling(max_size=100, idle_timeout=600, enabled=True):
7176
PoolingManager.disable()
7277
else:
7378
PoolingManager.enable(max_size, idle_timeout)
74-

0 commit comments

Comments
 (0)