-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
all: deprecate all no context methods #144
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scbizu
force-pushed
the
feature/deprecate-no-context-method
branch
from
April 19, 2022 03:19
4170fff
to
7dcf84d
Compare
This was referenced Apr 19, 2022
* feat: mongodb driver supported by official * feat: update mongo driver tests * feat: mongodb driver orm template update * fix: missing import package add * fix: typo fixed * feat: add mongodb driver url prefix automatically * fix: empty sort fields cause find options panic * fix: mongodb table name missing fixed * fix: set negative limit and offset fixed * fix: mongo-go-driver update use $ operation fixed * fix: mongo-go-driver set sort helper fixed * fix: mongo-go-driver query missing args * fix: use method receiver directly instead of another mgr * fix: insert unique return saved problem fixed * test: initial mongo-go-driver unit test * feat: use context from arguments directly * test: update query operation unit test * test: update count operation unit test * db,e2e: bump to v2 * e2e,parser/tpl: fix module path Co-authored-by: hackerzgz <hackerzgz@gmail.com>
scbizu
force-pushed
the
feature/deprecate-no-context-method
branch
3 times, most recently
from
April 19, 2022 11:57
32643c1
to
b52187e
Compare
scbizu
force-pushed
the
feature/deprecate-no-context-method
branch
from
April 19, 2022 12:05
b52187e
to
f4798b3
Compare
scbizu
added a commit
that referenced
this pull request
Apr 19, 2022
* all: sql_methods basic done * feat(example): add more cases for sql methods * update go version * ci: use go1.15 * test: recover pwd * build: use go1.16 * tmp: remove mongo test * build: recover ci * feat(sql): add ctx in generated methods * fix(sql): correct call in test case * parser: add a implementation for condition parser (#140) * parser: add a implementation for condition parser * parser: support ast based query builder * ci: bump go version to 1.18 * parser: fix confliction when only use vale as the index key , and support LIMIT keyword * parser: add table driven UTs and support select from a subquery * all: change ezorm module to v2 * all: impls templating module Signed-off-by: scnace <scbizu@gmail.com> * cmd,parser: update license and covers test cases Signed-off-by: scnace <scbizu@gmail.com> * all: adds template function unit tests and adds package/func comments for quick find related sql file * parser: make Metadate string more stable * main: ready to produce v2 * all: fix parser multiple in condition * all: fix in condition builder expr * example: add join example * ci,doc: migrate ci to github action (#141) * ci,doc: migrate ci to github action * ci: codeql covers pr * ci: install go-bindata in ci * ci: rename ci job build-pr to parser * ci: install go-bindata with module disabled * ci: install go-bindata from apt-get source * ci: remove duplicate go install in genexample * ci: use go1.18 for e2e test * ci: make ci stable * ci: mysql env setup * example: integrates with e2e tests * ci: fixup database name to test * db,example: setup raw db should never use the once initer * example: fixup tests * all: raw query supports customized db for mock uses * e2e: migrate e2e tests from example to e2e directory * e2e,tpl: move switch db options to query functions to avoid global mockDB * all: drop the support of mssql and redis in v2 (#145) all: migrate mongo ci into github action ci: use raw user and pwd ci: use service env mongo config * doc: re-fill document * readme: add raw query go code * Feature/migrate to goembed (#147) * parser/tpl: migrates to go embed * parser/tpl: add pattern for mysql_script.sql * all: deprecate all no context methods (#144) * all: deprecate all no context methods * Feature/mongo driver support (#149) * feat: mongodb driver supported by official * feat: update mongo driver tests * feat: mongodb driver orm template update * fix: missing import package add * fix: typo fixed * feat: add mongodb driver url prefix automatically * fix: empty sort fields cause find options panic * fix: mongodb table name missing fixed * fix: set negative limit and offset fixed * fix: mongo-go-driver update use $ operation fixed * fix: mongo-go-driver set sort helper fixed * fix: mongo-go-driver query missing args * fix: use method receiver directly instead of another mgr * fix: insert unique return saved problem fixed * test: initial mongo-go-driver unit test * feat: use context from arguments directly * test: update query operation unit test * test: update count operation unit test * db,e2e: bump to v2 * e2e,parser/tpl: fix module path Co-authored-by: hackerzgz <hackerzgz@gmail.com> * all: remove mgo support , and totally migrates to mongo-go-driver Co-authored-by: hackerzgz <hackerzgz@gmail.com> Co-authored-by: Nace Sc <scbizu@gmail.com> Co-authored-by: hackerzgz <hackerzgz@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Close #143