Skip to content

Commit 648bd1a

Browse files
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 <noreply@anthropic.com>
1 parent e0a7c6d commit 648bd1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datajoint/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ def virtual_schema(
899899
--------
900900
>>> lab = dj.virtual_schema('my_lab')
901901
>>> lab.Subject.fetch()
902-
>>> lab.Session & 'subject_id="M001"'
902+
>>> lab.Session & "subject_id='M001'"
903903
904904
See Also
905905
--------

0 commit comments

Comments
 (0)