You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to propose adding a function that takes a "Query" type and returns a set of records, similar to the way the framework/model package in sawsij does:
The function would take a Query, generate a select statement based on it and return the results. This would of course have to take into account the dialect of SQL being used.
This probably shouldn't be called "fetchAll" and it shouldn't replace the existing functionality, just augment it.
The text was updated successfully, but these errors were encountered:
I would like to propose adding a function that takes a "Query" type and returns a set of records, similar to the way the framework/model package in sawsij does:
http://godoc.org/bitbucket.org/jaybill/sawsij/framework/model#Table.FetchAll
http://godoc.org/bitbucket.org/jaybill/sawsij/framework/model#Query
The function would take a Query, generate a select statement based on it and return the results. This would of course have to take into account the dialect of SQL being used.
This probably shouldn't be called "fetchAll" and it shouldn't replace the existing functionality, just augment it.
The text was updated successfully, but these errors were encountered: