• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 8450637323
88%

Build:
DEFAULT BRANCH: master
Ran 27 Mar 2024 11:14AM UTC
Jobs 1
Files 513
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Mar 2024 10:58AM UTC coverage: 87.015% (-0.004%) from 87.019%
8450637323

push

github

locker
lua/key_def: add key validation and comparison functions

Closes #9863

@TarantoolBot document
Title: Document key validation and comparison `key_def` module functions

The following new functions were introduced to the `key_def` Lua module:

 - `key_def:validate_key(key)`: validates a key against a key definition
   object. Raises an exception if the key doesn't match. Returns nothing
   on success. See also `box_key_def_validate_key` C API function.

 - `key_def:validate_full_key(key)`: validates a full key against a key
   definition object. Raises an exception if the key doesn't match.
   Returns nothing on success. See also `box_key_def_validate_full_key`
   C API function.

 - `key_def:validate_tuple(tuple)`: validates a tuple against a key
   definition object. Raises an exception if the tuple doesn't match.
   Returns nothing on success. See also `box_key_def_validate_tuple`
   C API function.

 - `key_def:compare_keys(key_a, key_b)`: compares two keys according to
   a key definition object. Raises an exception if any of the given key
   doesn't match the key definition. On success, returns a value <0 if
   `key_a` parts are less than `key_b` parts, 0 if equal, >0 if greater.

67134 of 119519 branches covered (56.17%)

105 of 109 new or added lines in 2 files covered. (96.33%)

55 existing lines in 17 files now uncovered.

99818 of 114713 relevant lines covered (87.02%)

2359793.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8450637323.1 27 Mar 2024 11:14AM UTC 0
87.02
GitHub Action Run
Source Files on build 8450637323
Detailed source file information is not available for this build.
  • Back to Repo
  • 7e5881e2 on github
  • Prev Build on master (#8449291359)
  • Next Build on master (#8455292991)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc