Rather than mapping columns to instance variables in application code or a mapping file, ActiveRecord generates them dynamically at runtime based on your database's information schema.
相比于把“列”映射成程序代码或映射文件中的实体变量,ActiveRecord是在运行中基于你的数据库schema动态生成映射的。
Rather than mapping columns to instance variables in application code or a mapping file, ActiveRecord generates them dynamically at runtime based on your database's information schema.
相比于把“列”映射成程序代码或映射文件中的实体变量,ActiveRecord是在运行中基于你的数据库schema动态生成映射的。
应用推荐