Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(database/gdb): CRUD typos #4017

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions database/gdb/gdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ type DB interface {
Prepare(ctx context.Context, sql string, execOnMaster ...bool) (*Stmt, error)

// ===========================================================================
// Common APIs for CURD.
// Common APIs for CRUD.
// ===========================================================================

// Insert inserts one or multiple records into table.
Expand Down Expand Up @@ -124,7 +124,7 @@ type DB interface {
Delete(ctx context.Context, table string, condition interface{}, args ...interface{}) (sql.Result, error)

// ===========================================================================
// Internal APIs for CURD, which can be overwritten by custom CURD implements.
// Internal APIs for CRUD, which can be overwritten by custom CRUD implements.
// ===========================================================================

// DoSelect executes a SELECT query using the given link and returns the result.
Expand Down Expand Up @@ -434,7 +434,7 @@ type TX interface {
GetCount(sql string, args ...interface{}) (int64, error)

// ===========================================================================
// CURD.
// CRUD.
// ===========================================================================

// Insert inserts one or multiple records into table.
Expand Down
Loading