0
0
mirror of https://gitea.com/xorm/xorm.git synced 2025-10-06 00:43:56 +02:00
Files
xorm/doc.go

23 lines
583 B
Go
Raw Normal View History

2013-09-01 10:37:46 +08:00
// Copyright 2013 The XORM Authors. All rights reserved.
// Use of this source code is governed by a BSD
// license that can be found in the LICENSE file.
2013-11-22 09:20:41 +08:00
/*
Package xorm is a simple and powerful ORM for Go. It makes
database operation simple.
First, we should new a engine for a database
engine, err = xorm.NewEngine(driverName, dataSourceName)
Method NewEngine's parameters is the same as sql.Open. It depends
drivers' implementation. Generally, one engine is enough.
engine.Get(...)
engine.Insert(...)
engine.Find(...)
engine.Iterate(...)
engine.Delete(...)
*/
2013-09-01 10:37:46 +08:00
package xorm