From 648bd1ae1f06ea43dffe70a4c9f7c1adee5ae0b2 Mon Sep 17 00:00:00 2001 From: Dimitri Yatsenko Date: Fri, 23 Jan 2026 11:43:58 -0600 Subject: [PATCH] docs: fix string quoting in docstring example Use single quotes for string literals in SQL restrictions for PostgreSQL compatibility. Co-Authored-By: Claude Opus 4.5 --- src/datajoint/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datajoint/schemas.py b/src/datajoint/schemas.py index 1e2d9cfc2..1a9958a21 100644 --- a/src/datajoint/schemas.py +++ b/src/datajoint/schemas.py @@ -899,7 +899,7 @@ def virtual_schema( -------- >>> lab = dj.virtual_schema('my_lab') >>> lab.Subject.fetch() - >>> lab.Session & 'subject_id="M001"' + >>> lab.Session & "subject_id='M001'" See Also --------