profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/mojtabacazi/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Mojtaba Cazi mojtabacazi CaziSoft, LLC. California www.cazisoft.com

mojtabacazi/HttpClient 7

Fast HttpClient for Particle (Spark) Photon/Core

mojtabacazi/iOS-KMLParser 3

KMLParser for Apple MapKit.

mojtabacazi/AFNetworking 1

A delightful networking framework for iOS, macOS, watchOS, and tvOS.

mojtabacazi/aws-msad-terraform 0

A proof of concept to deploy Microsoft AD using AWS Directory Service and Terraform

mojtabacazi/charts 0

Curated applications for Kubernetes

mojtabacazi/jwt-go 0

Golang implementation of JSON Web Tokens (JWT)

mojtabacazi/LIDARLite_v2_Arduino_Library 0

Arduino Library for interaction and learning about LIDAR-Lite v2 "Blue Label"

mojtabacazi/terraform-aws-rds 0

Terraform module which creates RDS resources on AWS

issue openeduptrace/bun

Calling Update on an empty model creates malformed query

Given:

type Book struct {
    ID int64

    name *string
}

book := Book{
    ID: 1,
}

trying to update the model without any values generates an invalid query

db.NewUpdate().Model(&book).Where("id = ?", book.ID).Exec(ctx)

=> 'UPDATE "books" AS "book" SET  WHERE (id = 1)'

The same issue exists in go-pg as well.

created time in 2 months