File tree Expand file tree Collapse file tree
packages/django-google-spanner/django_spanner Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,13 +38,17 @@ def introspected_field_types(self):
3838 # TIMESTAMP.
3939 can_introspect_time_field = False
4040 closed_cursor_error_class = InterfaceError
41+ # Spanner uses REGEXP_CONTAINS which is case-sensitive.
42+ has_case_insensitive_like = False
4143 # https://cloud.google.com/spanner/quotas#query_limits
4244 max_query_params = 900
4345 # Spanner does not support parameterized defaults in DDL
4446 requires_literal_defaults = True
4547
4648 if os .environ .get ("RUNNING_SPANNER_BACKEND_TESTS" ) == "1" :
4749 supports_foreign_keys = False
50+ else :
51+ supports_foreign_keys = True
4852 can_create_inline_fk = False
4953 supports_ignore_conflicts = False
5054 supports_partial_indexes = False
@@ -70,6 +74,7 @@ def introspected_field_types(self):
7074 supports_subqueries_in_group_by = False
7175 uses_savepoints = False # Spanner does not support savepoints.
7276 can_rollback_tests = False # Spanner savepoints are no-ops; rely on flush.
77+ supports_aggregate_filter_clause = False
7378 # Spanner does not support expression indexes
7479 # example: CREATE INDEX index_name ON table (LOWER(column_name))
7580 supports_expression_indexes = False
You can’t perform that action at this time.
0 commit comments