PostgresIntArrayConverter class final

Stores a Dart integer list using PostgreSQL's native int4-array binding.

Implemented types

Constructors

PostgresIntArrayConverter()
Creates a stateless integer-array converter.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sqlType → SqlType
The binding type of the encoded value, independent of native DDL overrides.
no setteroverride

Methods

encodeNull() → NativeSqlValue
Returns a typed native NULL marker without converting a domain value.
override
fromDb(Object value) → List<int>
Decodes a non-null, normalized SQL value into a Dart value.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDb(List<int> value) → NativeSqlValue
Encodes a non-null Dart value for storage or comparison.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited