Friday, April 28, 2023
HomeGolangOrdinary SQL or Query building contractor - Obtaining Assistance

Ordinary SQL or Query building contractor – Obtaining Assistance

Pondering on my initial backend task, I have actually made a decision to remain off any type of Structure however and also mostly make use of the sexually transmitted disease or if demand be a collection (like Chi for my directing).

Originating From Python( and also composing a little of FastAPI), I’m fine or constantly presumed that a question building contractor is a great choice (barely an ORM). Taking a look at individuals point of views on suggested question building contractor from Golang teams and also online forum, “ordinary SQL” is much valued. Is that the proper method to go?


Hand-writing SQL is constantly an excellent way to go. Yet if you desire something for basic waste, I have actually utilized gorm and also it does make waste a wind. And also it additionally makes scanning right into structs very easy. Chi is a terrific choice for directing.

It seems like you have a great concept of what you’re making use of to develop your task. Construct it and also ask even more details inquiries when you have them!

1 Like

I have actually utilized both ORM and also Inquiry Builders (not making use of Go), and also my viewpoint is that they are great as long as you create basic inquiries. Yet when you need to create extra complicated inquiries, there is absolutely nothing that defeats raw SQL.

And also the primary factor I do not make use of ORM is that it is really difficult to obtain aid, as the variety of customers for a particular ORM/Query Contractor is a little portion of raw SQL designers. And also StackOverflow is an excellent resource for raw SQL inquiries.

1 Like


Most Popular

Recent Comments