没有合适的资源?快使用搜索试试~ 我知道了~
pg_party:ActiveRecord PostgreSQL分区
共84个文件
rb:58个
gemfile:6个
md:3个
需积分: 9 0 下载量 71 浏览量
2021-02-01
01:44:19
上传
评论
收藏 69KB ZIP 举报
温馨提示
PgParty 用于创建和管理迁移和模型帮助器! 产品特点 分区特定的数据库操作的迁移方法 查询分区数据,创建临时分区和获取分区元数据的模型方法 局限性 分区表在db/schema.rb表示不正确-请使用:sql模式格式 未来的工作 自动分区创建(通过cron或其他方式) 安装 将此行添加到您的应用程序的Gemfile中: gem 'pg_party' 然后执行: $ bundle 或自己安装为: $ gem install pg_party 请注意,gemspec不需要pg ,因为某些模型方法可能适用于其他数据库。 除非安装了pg否则迁移方法将不可用。 组态 可以通过PgParty.config和PgParty.configure访问和设置这些值。 caching 是否缓存当前附加的分区和匿名模型类 默认值: true caching_ttl 高速缓存条目被视为有效的时间长度(以秒为单位) 默认值: -1 (永不使高速缓存条目过期) schema_exclude_partitions 是否在rake db:structure:dump排除子分区 默认值: tr
资源推荐
资源详情
资源评论
收起资源包目录
pg_party-master.zip (84个子文件)
pg_party-master
bin
de 48B
console 235B
Rakefile 563B
gemfiles
ar_5.2.gemfile 145B
ar_6.1.gemfile 142B
ar_5.0.gemfile 145B
ar_5.1.gemfile 145B
.bundle
config 22B
ar_6.0.gemfile 145B
Dockerfile 1KB
Appraisals 346B
Gemfile 124B
.bundle
config 22B
CHANGES.md 2KB
.rspec 39B
docker-compose.yml 428B
spec
model
hash_methods_spec.rb 957B
list_methods_spec.rb 1KB
range_methods_spec.rb 1KB
methods_spec.rb 4KB
shared_methods_spec.rb 2KB
support
heredoc_matcher.rb 413B
pg_version_helper.rb 280B
db.rake 619B
pg_dump_helper.rb 1KB
uuid_matcher.rb 173B
cache_spec.rb 4KB
config_spec.rb 2KB
pg_party_spec.rb 802B
model_injector_spec.rb 6KB
dummy
log
.gitignore 5B
config
database.yml 232B
db
schema.rb 5KB
app
models
bigint_boolean_list.rb 110B
bigint_custom_id_int_list.rb 113B
bigint_custom_id_int_range.rb 132B
no_pk_substring_list.rb 126B
bigint_month_range.rb 167B
uuid_string_list.rb 109B
bigint_int_list_date_range_subpartition.rb 120B
bigint_date_range.rb 123B
bigint_date_range_no_partition.rb 134B
uuid_string_range.rb 111B
application_record.rb 109B
adapter
abstract_methods_spec.rb 4KB
postgresql_methods_spec.rb 5KB
integration
migration_postgres_10_spec.rb 2KB
model
no_pk_substring_list_spec.rb 7KB
bigint_date_range_spec.rb 7KB
bigint_date_range_no_partition_spec.rb 2KB
bigint_int_list_date_range_subpartition_spec.rb 2KB
bigint_custom_id_int_range_spec.rb 7KB
bigint_boolean_list_spec.rb 5KB
bigint_month_range_spec.rb 7KB
uuid_string_range_spec.rb 6KB
bigint_custom_id_int_list_spec.rb 6KB
uuid_string_list_spec.rb 6KB
migration_postgres_11_plus_spec.rb 15KB
structure_dump_spec.rb 987B
threading_spec.rb 2KB
migration_spec.rb 20KB
spec_helper.rb 2KB
.gitignore 185B
lib
pg_party.rb 1KB
pg_party
config.rb 516B
adapter_decorator.rb 17KB
model
shared_methods.rb 1KB
range_methods.rb 569B
hash_methods.rb 424B
list_methods.rb 566B
methods.rb 577B
cache.rb 1KB
model_injector.rb 1KB
adapter
postgresql_methods.rb 3KB
abstract_methods.rb 2KB
version.rb 70B
hacks
postgresql_database_tasks.rb 611B
model_decorator.rb 5KB
.circleci
config.yml 3KB
CODE_OF_CONDUCT.md 3KB
README.md 24KB
.pryrc 228B
LICENSE.txt 1KB
pg_party.gemspec 2KB
共 84 条
- 1
资源评论
三渔
- 粉丝: 23
- 资源: 4544
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功