Skip to main content
Module

x/mysql/test.deps.ts

MySQL driver for Deno
Extremely Popular
Latest
import * as mysql from "https://deno.land/x/mysql@v2.12.1/test.deps.ts";

Functions

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Executes a function which returns a promise, expecting it to throw or reject. If it does not, then it throws. An error class and a string that should be included in the error message can also be asserted.

Take a set of command line arguments, with an optional set of options, and return an object representation of those argument.

Coerces a string to semver if possible

Return true if version is greater than all the versions possible in the range.

Return the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid.

Return true if any of the ranges comparators intersect

Return true if version is less than all the versions possible in the range.

Return the major version number.

Return the minor version number.

Return true if the version is outside the bounds of the range in either the high or low direction. The hilo argument must be either the string '>' or '<'. (This is the function called by gtr and ltr.)

Return the patch version number.