sqlalchemy-iris 0.17.1b6__tar.gz → 0.17.1b8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sqlalchemy_iris-0.17.1b6/sqlalchemy_iris.egg-info → sqlalchemy_iris-0.17.1b8}/PKG-INFO +57 -2
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/README.md +54 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/setup.cfg +1 -1
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/base.py +3 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8/sqlalchemy_iris.egg-info}/PKG-INFO +57 -2
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/tests/test_alembic.py +29 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/LICENSE +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_BufferReader.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_BufferWriter.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_ConnectionInformation.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_ConnectionParameters.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_Constant.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_DBList.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_Device.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_GatewayContext.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_GatewayException.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_GatewayUtility.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_IRIS.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_IRISConnection.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_IRISEmbedded.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_IRISGlobalNode.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_IRISGlobalNodeView.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_IRISIterator.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_IRISList.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_IRISNative.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_IRISOREF.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_IRISObject.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_IRISReference.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_InStream.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_LegacyIterator.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_ListItem.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_ListReader.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_ListWriter.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_LogFileStream.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_MessageHeader.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_OutStream.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_PrintStream.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_PythonGateway.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_SharedMemorySocket.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/__init__.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/__main__.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/_Column.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/_DBAPI.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/_Descriptor.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/_IRISStream.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/_Message.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/_Parameter.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/_ParameterCollection.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/_ResultSetRow.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/_SQLType.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/__init__.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/preparser/_PreParser.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/preparser/_Scanner.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/preparser/_Token.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/preparser/_TokenList.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/preparser/__init__.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_BusinessHost.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_BusinessOperation.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_BusinessProcess.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_BusinessService.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_Common.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_Director.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_IRISBusinessOperation.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_IRISBusinessService.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_IRISInboundAdapter.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_IRISOutboundAdapter.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_InboundAdapter.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_Message.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_OutboundAdapter.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/__init__.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/irisnative/_IRISNative.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/irisnative/__init__.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/setup.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/__init__.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/alembic.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/embedded.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/information_schema.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/intersystems/__init__.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/intersystems/dbapi.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/iris.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/irisasync.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/provision.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/requirements.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/types.py +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris.egg-info/SOURCES.txt +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris.egg-info/dependency_links.txt +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris.egg-info/entry_points.txt +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris.egg-info/requires.txt +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris.egg-info/top_level.txt +0 -0
- {sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/tests/test_suite.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: sqlalchemy-iris
|
3
|
-
Version: 0.17.
|
3
|
+
Version: 0.17.1b8
|
4
4
|
Summary: InterSystems IRIS for SQLAlchemy
|
5
5
|
Home-page: https://github.com/caretdev/sqlalchemy-iris
|
6
6
|
Maintainer: CaretDev
|
@@ -25,6 +25,7 @@ License-File: LICENSE
|
|
25
25
|
Requires-Dist: SQLAlchemy>=1.3
|
26
26
|
Provides-Extra: intersystems
|
27
27
|
Requires-Dist: intersystems-irispython==5.1.0; extra == "intersystems"
|
28
|
+
Dynamic: license-file
|
28
29
|
Dynamic: requires-dist
|
29
30
|
|
30
31
|
sqlalchemy-iris
|
@@ -103,6 +104,60 @@ docker run -d --name iris \
|
|
103
104
|
intersystemsdc/iris-community:preview
|
104
105
|
```
|
105
106
|
|
107
|
+
Examples
|
108
|
+
===
|
109
|
+
|
110
|
+
IRISVector
|
111
|
+
---
|
112
|
+
|
113
|
+
```python
|
114
|
+
from sqlalchemy import Column, MetaData, Table, select
|
115
|
+
from sqlalchemy.sql.sqltypes import Integer, UUID
|
116
|
+
from sqlalchemy_iris import IRISVector
|
117
|
+
from sqlalchemy import create_engine
|
118
|
+
from sqlalchemy.orm import DeclarativeBase
|
119
|
+
import uuid
|
120
|
+
|
121
|
+
DATABASE_URL = "iris://_SYSTEM:SYS@localhost:1972/USER"
|
122
|
+
engine = create_engine(DATABASE_URL, echo=False)
|
123
|
+
|
124
|
+
# Create a table metadata
|
125
|
+
metadata = MetaData()
|
126
|
+
|
127
|
+
|
128
|
+
class Base(DeclarativeBase):
|
129
|
+
pass
|
130
|
+
|
131
|
+
|
132
|
+
def main():
|
133
|
+
demo_table = Table(
|
134
|
+
"demo_table",
|
135
|
+
metadata,
|
136
|
+
Column("id", Integer, primary_key=True, autoincrement=True),
|
137
|
+
Column("uuid", UUID),
|
138
|
+
Column("embedding", IRISVector(item_type=float, max_items=3)),
|
139
|
+
)
|
140
|
+
|
141
|
+
demo_table.drop(engine, checkfirst=True)
|
142
|
+
demo_table.create(engine, checkfirst=True)
|
143
|
+
with engine.connect() as conn:
|
144
|
+
conn.execute(
|
145
|
+
demo_table.insert(),
|
146
|
+
[
|
147
|
+
{"uuid": uuid.uuid4(), "embedding": [1, 2, 3]},
|
148
|
+
{"uuid": uuid.uuid4(), "embedding": [2, 3, 4]},
|
149
|
+
],
|
150
|
+
)
|
151
|
+
conn.commit()
|
152
|
+
result = conn.execute(
|
153
|
+
demo_table.select()
|
154
|
+
).fetchall()
|
155
|
+
print("result", result)
|
156
|
+
|
157
|
+
|
158
|
+
main()
|
159
|
+
```
|
160
|
+
|
106
161
|
_Port 1972 is used for binary communication (this driver, xDBC and so on), and 52773 is for web (Management Portal, IRIS based web-applications and API's)._
|
107
162
|
|
108
163
|
The System Management Portal is available by URL: `http://localhost:52773/csp/sys/UtilHome.csp`
|
@@ -74,6 +74,60 @@ docker run -d --name iris \
|
|
74
74
|
intersystemsdc/iris-community:preview
|
75
75
|
```
|
76
76
|
|
77
|
+
Examples
|
78
|
+
===
|
79
|
+
|
80
|
+
IRISVector
|
81
|
+
---
|
82
|
+
|
83
|
+
```python
|
84
|
+
from sqlalchemy import Column, MetaData, Table, select
|
85
|
+
from sqlalchemy.sql.sqltypes import Integer, UUID
|
86
|
+
from sqlalchemy_iris import IRISVector
|
87
|
+
from sqlalchemy import create_engine
|
88
|
+
from sqlalchemy.orm import DeclarativeBase
|
89
|
+
import uuid
|
90
|
+
|
91
|
+
DATABASE_URL = "iris://_SYSTEM:SYS@localhost:1972/USER"
|
92
|
+
engine = create_engine(DATABASE_URL, echo=False)
|
93
|
+
|
94
|
+
# Create a table metadata
|
95
|
+
metadata = MetaData()
|
96
|
+
|
97
|
+
|
98
|
+
class Base(DeclarativeBase):
|
99
|
+
pass
|
100
|
+
|
101
|
+
|
102
|
+
def main():
|
103
|
+
demo_table = Table(
|
104
|
+
"demo_table",
|
105
|
+
metadata,
|
106
|
+
Column("id", Integer, primary_key=True, autoincrement=True),
|
107
|
+
Column("uuid", UUID),
|
108
|
+
Column("embedding", IRISVector(item_type=float, max_items=3)),
|
109
|
+
)
|
110
|
+
|
111
|
+
demo_table.drop(engine, checkfirst=True)
|
112
|
+
demo_table.create(engine, checkfirst=True)
|
113
|
+
with engine.connect() as conn:
|
114
|
+
conn.execute(
|
115
|
+
demo_table.insert(),
|
116
|
+
[
|
117
|
+
{"uuid": uuid.uuid4(), "embedding": [1, 2, 3]},
|
118
|
+
{"uuid": uuid.uuid4(), "embedding": [2, 3, 4]},
|
119
|
+
],
|
120
|
+
)
|
121
|
+
conn.commit()
|
122
|
+
result = conn.execute(
|
123
|
+
demo_table.select()
|
124
|
+
).fetchall()
|
125
|
+
print("result", result)
|
126
|
+
|
127
|
+
|
128
|
+
main()
|
129
|
+
```
|
130
|
+
|
77
131
|
_Port 1972 is used for binary communication (this driver, xDBC and so on), and 52773 is for web (Management Portal, IRIS based web-applications and API's)._
|
78
132
|
|
79
133
|
The System Management Portal is available by URL: `http://localhost:52773/csp/sys/UtilHome.csp`
|
@@ -774,6 +774,9 @@ class IRISTypeCompiler(compiler.GenericTypeCompiler):
|
|
774
774
|
def visit_LONGVARBINARY(self, type_, **kw):
|
775
775
|
return "LONGVARBINARY"
|
776
776
|
|
777
|
+
def visit_LONGVARCHAR(self, type_, **kw):
|
778
|
+
return "LONGVARCHAR"
|
779
|
+
|
777
780
|
def visit_DOUBLE(self, type_, **kw):
|
778
781
|
return "DOUBLE"
|
779
782
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: sqlalchemy-iris
|
3
|
-
Version: 0.17.
|
3
|
+
Version: 0.17.1b8
|
4
4
|
Summary: InterSystems IRIS for SQLAlchemy
|
5
5
|
Home-page: https://github.com/caretdev/sqlalchemy-iris
|
6
6
|
Maintainer: CaretDev
|
@@ -25,6 +25,7 @@ License-File: LICENSE
|
|
25
25
|
Requires-Dist: SQLAlchemy>=1.3
|
26
26
|
Provides-Extra: intersystems
|
27
27
|
Requires-Dist: intersystems-irispython==5.1.0; extra == "intersystems"
|
28
|
+
Dynamic: license-file
|
28
29
|
Dynamic: requires-dist
|
29
30
|
|
30
31
|
sqlalchemy-iris
|
@@ -103,6 +104,60 @@ docker run -d --name iris \
|
|
103
104
|
intersystemsdc/iris-community:preview
|
104
105
|
```
|
105
106
|
|
107
|
+
Examples
|
108
|
+
===
|
109
|
+
|
110
|
+
IRISVector
|
111
|
+
---
|
112
|
+
|
113
|
+
```python
|
114
|
+
from sqlalchemy import Column, MetaData, Table, select
|
115
|
+
from sqlalchemy.sql.sqltypes import Integer, UUID
|
116
|
+
from sqlalchemy_iris import IRISVector
|
117
|
+
from sqlalchemy import create_engine
|
118
|
+
from sqlalchemy.orm import DeclarativeBase
|
119
|
+
import uuid
|
120
|
+
|
121
|
+
DATABASE_URL = "iris://_SYSTEM:SYS@localhost:1972/USER"
|
122
|
+
engine = create_engine(DATABASE_URL, echo=False)
|
123
|
+
|
124
|
+
# Create a table metadata
|
125
|
+
metadata = MetaData()
|
126
|
+
|
127
|
+
|
128
|
+
class Base(DeclarativeBase):
|
129
|
+
pass
|
130
|
+
|
131
|
+
|
132
|
+
def main():
|
133
|
+
demo_table = Table(
|
134
|
+
"demo_table",
|
135
|
+
metadata,
|
136
|
+
Column("id", Integer, primary_key=True, autoincrement=True),
|
137
|
+
Column("uuid", UUID),
|
138
|
+
Column("embedding", IRISVector(item_type=float, max_items=3)),
|
139
|
+
)
|
140
|
+
|
141
|
+
demo_table.drop(engine, checkfirst=True)
|
142
|
+
demo_table.create(engine, checkfirst=True)
|
143
|
+
with engine.connect() as conn:
|
144
|
+
conn.execute(
|
145
|
+
demo_table.insert(),
|
146
|
+
[
|
147
|
+
{"uuid": uuid.uuid4(), "embedding": [1, 2, 3]},
|
148
|
+
{"uuid": uuid.uuid4(), "embedding": [2, 3, 4]},
|
149
|
+
],
|
150
|
+
)
|
151
|
+
conn.commit()
|
152
|
+
result = conn.execute(
|
153
|
+
demo_table.select()
|
154
|
+
).fetchall()
|
155
|
+
print("result", result)
|
156
|
+
|
157
|
+
|
158
|
+
main()
|
159
|
+
```
|
160
|
+
|
106
161
|
_Port 1972 is used for binary communication (this driver, xDBC and so on), and 52773 is for web (Management Portal, IRIS based web-applications and API's)._
|
107
162
|
|
108
163
|
The System Management Portal is available by URL: `http://localhost:52773/csp/sys/UtilHome.csp`
|
@@ -1,3 +1,6 @@
|
|
1
|
+
from sqlalchemy_iris import LONGVARCHAR
|
2
|
+
|
3
|
+
|
1
4
|
try:
|
2
5
|
import alembic # noqa
|
3
6
|
except: # noqa
|
@@ -128,3 +131,29 @@ else:
|
|
128
131
|
assert col["name"] == "col"
|
129
132
|
assert isinstance(col["type"], LONGVARBINARY)
|
130
133
|
assert not col["nullable"]
|
134
|
+
|
135
|
+
class TestIRISLONGVARCHAR(TestBase):
|
136
|
+
|
137
|
+
@fixture
|
138
|
+
def tables(self, connection):
|
139
|
+
self.meta = MetaData()
|
140
|
+
self.tbl = Table(
|
141
|
+
"longvarbinary_test",
|
142
|
+
self.meta,
|
143
|
+
Column("id", Integer, primary_key=True),
|
144
|
+
Column("data", LONGVARCHAR),
|
145
|
+
)
|
146
|
+
self.meta.create_all(connection)
|
147
|
+
yield
|
148
|
+
self.meta.drop_all(connection)
|
149
|
+
|
150
|
+
def test_longvarchar(self, connection, tables):
|
151
|
+
connection.execute(
|
152
|
+
self.tbl.insert(),
|
153
|
+
[
|
154
|
+
{"data": "test data"},
|
155
|
+
{"data": "more test data"},
|
156
|
+
],
|
157
|
+
)
|
158
|
+
result = connection.execute(self.tbl.select()).fetchall()
|
159
|
+
assert result == [(1, "test data"), (2, "more test data")]
|
File without changes
|
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_ConnectionInformation.py
RENAMED
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_ConnectionParameters.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_GatewayException.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_IRISGlobalNodeView.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/_SharedMemorySocket.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/_Descriptor.py
RENAMED
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/_IRISStream.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/_ResultSetRow.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/preparser/_Scanner.py
RENAMED
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/preparser/_Token.py
RENAMED
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/dbapi/preparser/__init__.py
RENAMED
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_BusinessHost.py
RENAMED
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_BusinessOperation.py
RENAMED
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_BusinessProcess.py
RENAMED
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_BusinessService.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_IRISBusinessService.py
RENAMED
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_IRISInboundAdapter.py
RENAMED
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_IRISOutboundAdapter.py
RENAMED
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_InboundAdapter.py
RENAMED
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/intersystems_iris/pex/_OutboundAdapter.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris/intersystems/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris.egg-info/dependency_links.txt
RENAMED
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris.egg-info/entry_points.txt
RENAMED
File without changes
|
File without changes
|
{sqlalchemy_iris-0.17.1b6 → sqlalchemy_iris-0.17.1b8}/sqlalchemy_iris.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|