xorm/doc.go

23 lines
583 B
Go
Raw Normal View History

2013-09-01 02:37:46 +00: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 01:20:41 +00: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 02:37:46 +00:00
package xorm