From 8d2c35ee1c37b85b786f0da0712646d4708e1d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Nieto?= <jose.carlos@menteslibres.net> Date: Tue, 24 Jun 2014 07:11:49 -0500 Subject: [PATCH] Clarification on ORM word. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2cb2f070..30543d82 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,9 @@ See the project page, recipes and user documentation at [upper.io/db][1]. ## Is this an ORM? -`upper.io/db` is not an ORM, but you may not need one at all: +`upper.io/db` is not an ORM in the sense that it does not tell you how to +design your software or how to validate your data, instead it only focuses on +being a tool that deals with common operations on different databases: ```go // This code works the same for all supported databases. @@ -19,6 +21,9 @@ res = col.Find(db.Cond{"name": "Max"}).Limit(10).Sort("-last_name") err = res.All(&people) ``` +In strict sense `upper.io/db` could be considered a really basic non-magical +ORM that rather stays out of the way. + ## Supported databases `upper.io/db` attempts to provide full compatiblity for [CRUD][2] operations -- GitLab