Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert ¶ added in v0.0.39
Convert the given value to the given Type. Set isRS to true if the value represents a RecordSet
If the target type implements sql.Scanner, then the Scan method is used for the conversion.
func IsLessThan ¶
IsLessThan returns true if arg1 is less than arg2 It panics if the kind of arg1 or arg2 is not a basic kind.
Types ¶
type RecordSet ¶
type RecordSet interface {
// ModelName returns the name of the model of this RecordSet
ModelName() string
// Ids returns the ids in this set of Records
Ids() []int64
// Len returns the number of records in this RecordSet
Len() int
// IsEmpty returns true if this RecordSet has no records
IsEmpty() bool
// IsNotEmpty returns true if this RecordSet has at least one record
IsNotEmpty() bool
}
RecordSet is an approximation of models.RecordSet so as not to import models.
Click to show internal directories.
Click to hide internal directories.