4 ms·
How about a list of existing database tables/columns so you don't need to repeat it each time?
by wredcoll 11mo ago
How about a list of existing database tables/columns so you don't need to repeat it each time?
- anonzzzies 11mo agoClaude code figures that out at startup every time. Never had issues with it.
- theshrike79 11mo agoYou can save some precious context by having it somewhere without it having to figure it out from scratch every time.
- HDThoreaun 11mo agoDo you not use a model file for your orm?
- wredcoll 11mo agoORMs are generally a bad idea, so.. hopefully not?
- girvo 11mo agoEven without the explicit magic ORMs, with data mapper style query builders like Kysely and similar, I still find I need to marshall selected rows into objects to, yknow, do things with them in a lot of cases. Perhaps a function of GraphQL though.
- wredcoll 11mo agoSure, but that's not the same thing. For example, whether or not you have to redeclare your entire database schema in a custom ORM language in a different repo.
- mattmanser 11mo agoThis isn't the 00s any more.
- girvo 11mo agoI gave it a tool to execute to get that info if required, but it mostly doesn’t need to due to Kysely migration files and the database type definition being enough.