Clj-record is an ActiveRecord-like ORM mapper.
clj - record是一个类似于activerecord的or M映射器。
ActiveRecord is easy to use and easy to extend.
ActiveRecord易于使用和扩展。
I'm not saying that ActiveRecord is a bad framework.
我并不是说ActiveRecord是个不好的框架。
ActiveRecord is a perfectly capable persistence framework.
ActiveRecord是一种功能完善的持久性框架。
ActiveRecord is not a full object relational mapping layer.
ActiveRecord并非全对象关系型映射层。
Which ActiveRecord class creates the most load on the database?
哪个ActiveRecord类对数据库造成了最多负载?
In some ways, though, ActiveRecord inheritance is fairly limited.
在某些方面,ActiveRecord继承十分有限。
As you can see, by default the Patient class simply extends ActiveRecord.
可以看到,默认情况下patient类仅仅扩展了ActiveRecord。
To keep the example simple, ActiveRecord does not actually run the SQL code.
为了让这个示例尽量简单,ActiveRecord并不会实际运行SQL代码。
It is basically an abstract implementation of the ActiveRecord design pattern.
它基本上是ActiveRecord设计模式的抽象实现。
With ActiveRecord, you can also nest the: include option, but only one level deep.
通过ActiveRecord,还可以嵌套:include选项,但嵌套深度只有一级。
There are a number of options to ActiveRecord::Base#find you can use to mimic SQL.
Base#find有大量选项可用于模仿SQL。
Notice that you don't see an address field in the log when ActiveRecord loaded Member.
注意当activerecord加载了Member时,您并不会看到地址字段。
The other problem with ActiveRecord that transparent persistence solves is subclassing.
透明持久化解决了的ActiveRecord的另外一个问题就是子类化。
Delayed_job is a background job server that integrates well with Rails and ActiveRecord.
delayed_job是一个后台作业服务器,它能够与Rails和ActiveRecord整合。
The object Contact is the ActiveRecord object-relational mapping that the model provides.
对象Contact是模型所提供的ActiveRecord对象-关系映射。
Like any database framework, ActiveRecord lets me do many things that get me into trouble.
与任何数据库框架一样,ActiveRecord让我极易做出很多惹麻烦的事。
Manually add ibm_db into gems \ 1.8 \ gems \ activerecord-1.15.3 \ lib \ active_record.rb.
将ibm_db手动添加到gems \ 1.8 \ gems \ activerecord -1.15.3 \lib \ active_record . rb。
And it automatically analyzes SQL code that ActiveRecord generates for potential problems.
并且它还会自动分析ActiveRecord生成的SQL代码以便发现潜在问题。
In some initialization code, open the ActiveRecord base class and add your acts_as_ module.
在某些初始化代码中,打开ActiveRecord基类并添加acts_as _模块。
ActiveRecord USES the database's information schema to dynamically retrieve column metadata.
ActiveRecord通过使用数据库的定义信息来动态更新字段元数据。
I'm not sure if performance would be a reason to use Sequel over ActiveRecord (or vice versa).
我不确信是否性能是使用Sequel(或者ActiveRecord)的一个原因。
The first method in Listing 7 sets the initial state, updating an existing ActiveRecord column.
清单7中的第一个方法设置了初始状态,更新已有的ActiveRecord列。
A Rails plugin that USES git to version ActiveRecord fields, like acts_as_versioned, but a git.
一个Rails插件,记录使用git的ActiveRecord字段的版本,就像acts_as_versioned但是是git的。
Rails, which contains ActiveRecord, supports a number of databases but does not support JDBC directly.
Rails中包含ActiveRecord,可支持各种数据库但并不直接支持JDBC。
This is a good thing because without subclassing, the ActiveRecord class doesn't do anything worthwhile.
这是一件好事,因为在没有子类时,activerecord类不会做任何有价值的事情。
As well, ActiveRecord associations and validations are redundant specifications of database constraints.
同样,ActiveRecord的关联和校验对于数据库的约束定义来说也是一种冗余。
The code below shows the ActiveRecord migrations for the application and the corresponding model classes.
下面的代码显示了ActiveRecord向应用程序和对应模型类上迁移的过程。
I needed those to replace the current ActiveRecord implementation of transactions and make it Fiber aware.
我需要这些功能来替代事务的当前ActiveRecord实现并使得纤程可查。
I believe that ActiveRecord strikes an effective set of compromises, usually erring on the side of simplicity.
我认为ActiveRecord实现了一组有效的妥协,常常选择了简单性。
应用推荐