SessionsCompanion class
- Inheritance
-
- Object
- UpdateCompanion<
SessionRow> - SessionsCompanion
Constructors
-
SessionsCompanion({Value<
String> id = const Value.absent(), Value<String> ip = const Value.absent(), Value<String> userAgent = const Value.absent(), Value<PreciseDateTime> lastActivatedAt = const Value.absent(), Value<int> rowid = const Value.absent()}) -
const
-
SessionsCompanion.insert({required String id, required String ip, required String userAgent, required PreciseDateTime lastActivatedAt, Value<
int> rowid = const Value.absent()})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
→ Value<
String> -
final
-
ip
→ Value<
String> -
final
-
lastActivatedAt
→ Value<
PreciseDateTime> -
final
-
rowid
→ Value<
int> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
userAgent
→ Value<
String> -
final
Methods
-
copyWith(
{Value< String> ? id, Value<String> ? ip, Value<String> ? userAgent, Value<PreciseDateTime> ? lastActivatedAt, Value<int> ? rowid}) → SessionsCompanion -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toColumns(
bool nullToAbsent) → Map< String, Expression< Object> > -
Converts this object into a map of column names to expressions to insert
or update.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
custom(
{Expression< String> ? id, Expression<String> ? ip, Expression<String> ? userAgent, Expression<int> ? lastActivatedAt, Expression<int> ? rowid}) → Insertable<SessionRow>