Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bar ¶
type Bar struct { Id sql.NullInt64 `db:"id" json:"id"` FirebaseAuthUid sql.NullString `db:"firebase_auth_uid" json:"firebase_auth_uid"` }
SELECT * FROM users LIMIT 5
type Foo ¶
type Foo struct {
FirebaseAuthUid sql.NullString `db:"firebase_auth_uid" json:"firebase_auth_uid"`
}
SELECT firebase_auth_uid FROM users LIMIT 5
type JoinExample ¶
type JoinExample struct { Id sql.NullInt64 `db:"id" json:"id"` FirebaseAuthUid sql.NullString `db:"firebase_auth_uid" json:"firebase_auth_uid"` Title string `db:"title" json:"title"` }
SELECT users.*, title FROM users JOIN posts ON users.id = posts.id
Click to show internal directories.
Click to hide internal directories.