dynaQ

An extension for Go's sql package in the standard library to support dynamic queries directly from the database, as well as on individual database connections (by syke99)

dynaQ Alternatives

Similar projects and alternatives to dynaQ

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better dynaQ alternative or higher similarity.

dynaQ reviews and mentions

Posts with mentions or reviews of dynaQ. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-15.
  • Share Your Code.. Share your most unique piece of Go code.
    57 projects | /r/golang | 15 Oct 2022
    I wouldn’t consider it idiomatic Go (and not something I recommend for use in production), but for fun, I built dynaQ (an abbreviation for dynamic querier) as a PoC of an extension to the database/sql core package erasing the need to model your DB results or use an ORM. There’s minimal reflection used to keep things performant, you can pass in an option whenever creating the new dynamic querier to auto-detect a time value from your database with a custom format (or take it’s default), and more.
  • How do you handle returning data from DB Queries with Joins? Create a struct for every possible Query?
    1 project | /r/golang | 30 Jul 2022
    But that’s why I built dynaQ. No need to pre-model your returns and it’s just as performant as the standard library ;)
  • New Open source Go projects looking for contributors
    12 projects | /r/golang | 24 Jul 2022
    I don’t have a contributor guide written for either of them, but feel free to help with the few issues in either this or this package I’ve written and released. They’re super simple things, but I’ve been rather busy at work and in life. So I haven’t had the time to address them. If you want to contribute, feel free to send me a DM with any questions!! Otherwise, just fork the repo(s) and just open a PR once you’re ready for the changes to be merged. I’ll review it asap!!
  • The superbasic SQL-Builder
    2 projects | /r/golang | 24 Jul 2022
    Nice!! Looks like a great companion to this module that I wrote and released recently!!
  • Next month I'll start working at a company as a Backend Developer and will be mostly using Go. How can I better prepare myself?
    4 projects | /r/golang | 18 Jul 2022
    As far as projects to study go, I’ll start off with a shameless plug of two Go packages I’ve written, myself. This one is for converting between RGB (and other color space formats) to the nearest matching DMC thread color. This one is admittedly an extremely unidiomatic package (it’s completely opposite of how you should do things in Go) for supporting dynamic queries in Go without headaches or pre-defining “model” structs to hold each row of your query results. It’s something that can be useful, but it’s also built to showcase making the language work for a use case it wasn’t originally meant to support. If you wanna take a look at them, feel free. Also, I suggest looking at the testify repo. It’s an EXTREMELY popular testing library, and it’s also structured well.
  • Create a type for every response when using REST API ?
    2 projects | /r/golang | 13 Jul 2022
    I’ve created a package as an extension of the database/sql package in the stdlib for supporting dynamic queries without headaches in Go without having to predefine the structs. So you might be able to take some pointers from how I accomplished this
  • dynaQ, a light-weight extension to Go’s standard database/sql package for executing dynamic queries on a database, as part of a transaction, and more
    1 project | /r/golang | 9 Jul 2022
    A couple of days ago, someone asked about why using dynamic queries in Go was such a headache. And after reading through the comments, looking at code, and studying others’ frustrations with this issue, I decided to tackle it. And that’s how dynaQ was born!!
  • why is getting data from the database such a headache
    3 projects | /r/golang | 7 Jul 2022
    It’s called dynaQ. It allows you to use dynamic queries on a database, with database transactions, and more, without having to pre-define any model structs to hold the returned data. It also allows for variable query arguments, as well as the ability to use custom time formats in your database and configure that format whenever creating a dynamic querier. Take a look and give it a shot!! I think you’ll be pretty pleased with the result
  • A note from our sponsor - WorkOS
    workos.com | 18 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic dynaQ repo stats
8
30
0.0
over 1 year ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com