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

docs: enhance query options, instance type, and toJSON() result type #207

Merged
merged 2 commits into from
Oct 26, 2021

Conversation

cyjake
Copy link
Owner

@cyjake cyjake commented Oct 25, 2021

image

also fixes return type of compound queries such as:

const posts  = await Post.where({ title: { $like: '%a' } }).select('title');
assert.equal(posts.length, 3);

types/index.d.ts Outdated Show resolved Hide resolved
types/index.d.ts Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2021

Codecov Report

Merging #207 (3cc929a) into master (8d30a9a) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #207   +/-   ##
=======================================
  Coverage   97.17%   97.17%           
=======================================
  Files          42       42           
  Lines        3049     3049           
=======================================
  Hits         2963     2963           
  Misses         86       86           
Impacted Files Coverage Δ
src/drivers/sqlite/index.js 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8d30a9a...3cc929a. Read the comment docs.

@JimmyDaddy JimmyDaddy merged commit fc9eb84 into master Oct 26, 2021
@cyjake cyjake deleted the enhance-instance-type-dts branch October 26, 2021 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants