NumberLibPrecision: string | ((cons: DBNumberConstructor) => number)

Value of getPrecision property. This property may be:

  • String, specifying the property name of the constructor which contains precision. Nested paths (with '.'s) are allowed.
  • Function, specifying how to get precision value from the constructor. The function takes constructor as sole parameter and returns precision value as Javascript number.
If getPrecision is not set, the driver will use value precision property. If that is also not set, the driver will check constructor properties precision and PRECISION. If not found, default precision of 20 is assumed.

Generated using TypeDoc