SqliteVersion class

The assumed version of sqlite3.

This library can provide analysis hints when using sqlite features newer than the desired version.

Implemented types
Annotations
  • @sealed

Constructors

SqliteVersion(int major, int minor, int patch)
const
SqliteVersion.v3(int minor, [int patch = 0])
const

Properties

hashCode int
The hash code for this object.
no setteroverride
major int
The major version of sqlite.
final
minor int
The minor version of sqlite.
final
patch int
The patch version of sqlite.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(SqliteVersion other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator <(SqliteVersion other) bool
operator ==(Object other) bool
The equality operator.
override
operator >(SqliteVersion other) bool
operator >=(SqliteVersion other) bool

Constants

current → const SqliteVersion
The highest sqlite version supported by this sqlparser package.
minimum → const SqliteVersion
The minimum sqlite version assumed by the current version of the sqlparser package.
v3_35 → const SqliteVersion
Version 3.35.0 of sqlite3.
v3_37 → const SqliteVersion
Version 3.37.0 of sqlite3.
v3_38 → const SqliteVersion
Version 3.38.0 of sqlite3.
v3_39 → const SqliteVersion
Version 3.39.0 of sqlite3.
v3_41 → const SqliteVersion
Version 3.41.0 added the built-in unhex function.
v3_43 → const SqliteVersion
Version 3.43.0 added the built-in timediff and octet_length functions.
v3_44 → const SqliteVersion
Version 3.44.0 has added ORDER BY clauses as parameters for aggregate functions and more SQL functions.
v3_45 → const SqliteVersion
Version 3.55.0 has added support for a binary JSON format and introduces jsonb variants of JSON functions.