Commit c4b134a
fix(examples): use backend check instead of hardcoding 'main' schema
Instead of checking if default_schema == 'main', check the database
backend to determine if schemas are supported. This is more robust
and extensible - just add backends to the no_schema_backends set.
Currently only SQLite is in this set, but can easily add others if needed.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent feee7b8 commit c4b134a
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
114 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | | - | |
118 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
119 | 124 | | |
120 | 125 | | |
121 | 126 | | |
| |||
0 commit comments