M src/deeno/sql.py +1 -1
@@ 143,7 143,7 @@ def insert(relation, columns=None, rows=
if columns is None:
if not isinstance(rows[0], dict):
- raise ValueError('either provide columns ore dictionary rows')
+ raise ValueError('either provide columns or dictionary rows')
columns = tuple(sorted(rows[0].keys()))
if set(tuple(sorted(r.keys())) for r in rows) != set([columns]):
raise ValueError('dictionary rows must have identical keys')
M src/tests/test_sql.py +1 -1
@@ 209,7 209,7 @@ class InsertTest(SqlTest):
sql.insert(self.r, rows=[[], []])
ok_(False)
except ValueError as e:
- eq_(str(e), 'either provide columns ore dictionary rows')
+ eq_(str(e), 'either provide columns or dictionary rows')
try:
sql.insert(self.r, columns=(), rows=[[], []])