active_median:Active Record,Mongoid,数组和哈希的中位数和百分位数

时间:2021-05-09 13:27:35
【文件属性】:
文件名称:active_median:Active Record,Mongoid,数组和哈希的中位数和百分位数
文件大小:16KB
文件格式:ZIP
更新时间:2021-05-09 13:27:35
Ruby ActiveMedian Active Record,Mongoid,数组和哈希的中位数和百分位数 支持: PostgreSQL 9.4+ MariaDB 10.3.3以上 MySQL和SQL(带有扩展名) SQL Server 2012以上版本 MongoDB 2.1以上 :fire: 使用本机函数获得出色的性能 入门 将此行添加到您的应用程序的Gemfile中: gem 'active_median' 对于MySQL和SQLite,还请遵循。 楷模 中位数 Item . median ( :price ) 百分位数 Request . percentile ( :response_time , 0.95 ) 也适用于分组 Order . group ( :store_id ) . median ( :total ) 数组和哈希 中位数 [ 1 , 2 , 3 ] . media
【文件预览】:
active_median-master
----.gitignore(148B)
----README.md(3KB)
----active_median.gemspec(611B)
----gemfiles()
--------sqlserver.gemfile(176B)
--------mongoid7.gemfile(124B)
--------sqlite3.gemfile(138B)
--------activerecord60.gemfile(133B)
--------mysql2.gemfile(137B)
--------redshift.gemfile(161B)
--------activerecord52.gemfile(133B)
----CHANGELOG.md(1KB)
----.github()
--------workflows()
----test()
--------support()
--------percentile_test.rb(3KB)
--------test_helper.rb(416B)
--------median_test.rb(5KB)
----Gemfile(122B)
----LICENSE.txt(1KB)
----lib()
--------active_median.rb(561B)
--------active_median()
----Rakefile(156B)

网友评论