basic-orm

command
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

README

Basic ORM Usage

This example demonstrates basic ORM operations using the query builder.

Features Demonstrated

  • Getting all records from a table
  • Finding a record by ID
  • Creating new records
  • Updating existing records
  • Deleting records
  • Advanced queries with multiple conditions, ordering, and limits

Running the Example

cd examples/basic-orm
go run main.go

Prerequisites

  • SQLite database (or modify the DSN to use your preferred database)
  • A users table should exist in the database

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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