fix type: opject -> object

This commit is contained in:
s7v7nislands
2014-12-17 09:47:37 +08:00
committed by James Miranda
parent 6cb737b51e
commit f158b336ee

View File

@@ -45,7 +45,7 @@ Then you need to open a database connection and create a beedb object (MySQL in
}
orm := beedb.New(db)
`beedb.New()` actually has two arguments. The first is the the database opject, and the second is for indicating which database engine you're using. If you're using MySQL/SQLite, you can just skip the second argument.
`beedb.New()` actually has two arguments. The first is the the database object, and the second is for indicating which database engine you're using. If you're using MySQL/SQLite, you can just skip the second argument.
Otherwise, this argument must be supplied. For instance, in the case of SQLServer: