We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ad1ce commit 904f91cCopy full SHA for 904f91c
tests/columns/test_array.py
@@ -2,6 +2,7 @@
2
3
from piccolo.table import Table
4
from piccolo.columns.column_types import Array, Integer
5
+from tests.base import postgres_only
6
7
8
class MyTable(Table):
@@ -28,6 +29,7 @@ def test_storage(self):
28
29
row = MyTable.objects().first().run_sync()
30
self.assertEqual(row.value, [1, 2, 3])
31
32
+ @postgres_only
33
def test_index(self):
34
"""
35
Indexes should allow individual array elements to be queried.
0 commit comments