Documentation ¶
Index ¶
Constants ¶
View Source
const RFC3339Milli = "2006-01-02T15:04:05.999Z07:00"
Variables ¶
View Source
var ErrNotFound = errors.New("ErrNotFound")
ErrNotFound gets returned when a database record does not exist
Functions ¶
func MarshalJSON ¶
Types ¶
type BatchResult ¶
type BatchResult struct {
Count int `json:"count"`
}
type BigInt ¶
type BigInt int64
BigInt is a type alias for int64
func (*BigInt) MarshalJSON ¶
MarshalJSON converts the input to a Prisma value
func (*BigInt) UnmarshalJSON ¶
UnmarshalJSON converts the Prisma QE value of string to int64
Click to show internal directories.
Click to hide internal directories.