Commit da43ed3
refactor: route schema queries through adapter methods
- list_schemas() uses adapter.list_schemas_sql()
- make_classes() uses adapter.list_tables_sql() instead of SHOW TABLES
- Schema.exists uses new adapter.schema_exists_sql() method
- Added schema_exists_sql() to base, MySQL, and PostgreSQL adapters
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 33ef072 commit da43ed3
File tree
4 files changed
+29
-14
lines changed- src/datajoint
- adapters
4 files changed
+29
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
618 | 635 | | |
619 | 636 | | |
620 | 637 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
614 | 618 | | |
615 | 619 | | |
616 | 620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
724 | 728 | | |
725 | 729 | | |
726 | 730 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
| 426 | + | |
433 | 427 | | |
434 | 428 | | |
435 | 429 | | |
| |||
838 | 832 | | |
839 | 833 | | |
840 | 834 | | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
| 835 | + | |
| 836 | + | |
847 | 837 | | |
848 | 838 | | |
849 | 839 | | |
| |||
0 commit comments