mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
BigInt GA: remove mention of experimental status from .rst docs
This commit is contained in:
@@ -431,10 +431,7 @@ The above query therefore evalutes to:
|
|||||||
BigInt
|
BigInt
|
||||||
======
|
======
|
||||||
|
|
||||||
The built-in ``QlBuiltins`` module provides an **experimental** type ``BigInt`` of arbitrary-range integers.
|
The built-in ``QlBuiltins`` module provides a type ``BigInt`` of arbitrary-range integers.
|
||||||
|
|
||||||
This type is not available in the CodeQL CLI by default, but you can enable it by passing the ``--allow-experimental=bigint``
|
|
||||||
option to the CodeQL CLI. Consequently, BigInts are currently disallowed in query results and dbscheme columns.
|
|
||||||
|
|
||||||
Unlike ``int`` and ``float``, there is no automatic conversion between ``BigInt`` and other numeric types.
|
Unlike ``int`` and ``float``, there is no automatic conversion between ``BigInt`` and other numeric types.
|
||||||
Instead, big integers can be constructed using the ``.toBigInt()`` methods of ``int`` and ``string``.
|
Instead, big integers can be constructed using the ``.toBigInt()`` methods of ``int`` and ``string``.
|
||||||
@@ -451,3 +448,5 @@ The other built-in operations are:
|
|||||||
``rank``, ``unique``, ``any``.
|
``rank``, ``unique``, ``any``.
|
||||||
* other: ``.pow(int)``, ``.abs()``, ``.gcd(BigInt)``, ``.minimum(BigInt)``,
|
* other: ``.pow(int)``, ``.abs()``, ``.gcd(BigInt)``, ``.minimum(BigInt)``,
|
||||||
``.maximum(BigInt)``.
|
``.maximum(BigInt)``.
|
||||||
|
|
||||||
|
Note: big integers are currently disallowed in query results and dbscheme columns.
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ independent of the database that you are querying.
|
|||||||
QL has a range of built-in operations defined on primitive types. These are available by using dispatch on expressions of the appropriate type. For example, ``1.toString()`` is the string representation of the integer constant ``1``. For a full list of built-in operations available in QL, see the
|
QL has a range of built-in operations defined on primitive types. These are available by using dispatch on expressions of the appropriate type. For example, ``1.toString()`` is the string representation of the integer constant ``1``. For a full list of built-in operations available in QL, see the
|
||||||
section on `built-ins <https://codeql.github.com/docs/ql-language-reference/ql-language-specification/#built-ins>`__ in the QL language specification.
|
section on `built-ins <https://codeql.github.com/docs/ql-language-reference/ql-language-specification/#built-ins>`__ in the QL language specification.
|
||||||
|
|
||||||
Additionally, there is an experimental arbitrary-range integer primitive type at :ref:`QlBuiltins::BigInt <bigint>`. This type is not available in the CodeQL CLI by default, but you can enable it by passing the ``--allow-experimental=bigint`` option to the CodeQL CLI.
|
Additionally, there is an arbitrary-range integer primitive type at :ref:`QlBuiltins::BigInt <bigint>`.
|
||||||
|
|
||||||
.. index:: class
|
.. index:: class
|
||||||
.. _classes:
|
.. _classes:
|
||||||
|
|||||||
Reference in New Issue
Block a user