Skip to content
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 3 commits into from
Apr 19, 2022

Conversation

scbizu
Copy link
Member

@scbizu scbizu commented Apr 15, 2022

Close #143

@scbizu scbizu added the v2 ezorm v2 label Apr 15, 2022
@scbizu scbizu requested a review from hackerzgz April 15, 2022 11:14
* 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 scbizu force-pushed the feature/deprecate-no-context-method branch 3 times, most recently from 32643c1 to b52187e Compare April 19, 2022 11:57
@scbizu scbizu force-pushed the feature/deprecate-no-context-method branch from b52187e to f4798b3 Compare April 19, 2022 12:05
@scbizu scbizu merged commit d257c63 into feature/v2 Apr 19, 2022
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>
@scbizu scbizu deleted the feature/deprecate-no-context-method branch April 19, 2022 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2 ezorm v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant