GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Option to Segregate Read and Write queries to have separate db users with each type of query. · Issue #3187 · sqlc-dev/sqlc Open Labels enhancementNew feature or requestNew feature or request DescriptionWhat do you want to change?Usecase is to have seperate set of queries generated for read access and write access. The solution is to generate two separate prepared folder but then it would result in lot of code duplication of models also getting generated. Can we have a solution where we can get the objects in separate set of queries which could be used to prepare from corresponding db users. Current Behaviour : output generated from it Now I cant use this Queries struct with my read db user and it fails during the prepare method call becase the queries have both select and insert queries. Feature request : On generate command it should generate something like and these corresponding queries can be used with corresponding mysql db users context while preparing. What database engines need to be changed?PostgreSQL, MySQL, SQLite What programming language backends need to be changed?Go Reacted by Jarri Abidi, jethwaniamit, Muhammad Younus, Usman Ashraf, yarik-careem, Muhammad Hammad, dan-pulley, Wojtek Siudzinski and Jialun Cai Reacted by Jarri Abidi and Wojtek Siudzinski Activity
MetadataMetadataAssigneesLabelsenhancementNew feature or requestNew feature or request TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |