gengoreuse

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by gotoc_sql. DO NOT EDIT. gotoc version: 0.0.1 source: samples/sql/reuse_user.gotoc.sql

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUser

func AddUser(db sqlimpl.Execable, name string, email string, password string, age int) (int64, error)

AddUser 使用复用的SQL实现插入用户

func AddUserBase

func AddUserBase(db sqlimpl.Execable, u *base.User) (int64, error)

AddUserBase 使用复用的SQL实现批量插入用户

func UpdateUserName

func UpdateUserName(db sqlimpl.Execable, id int64, name string, email string, age int) (int64, error)

UpdateUserName 使用复用的SQL实现更新用户

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL