nt fingerprint:用于将查询转换为指纹的Ruby gem 源码
nt指纹 概要 nt-fingerprint是用于将查询转换为指纹的Ruby宝石。 require 'nt/fingerprint' class Sample include Nt :: Fingerprint end puts Sample . new . fingerprint ( "SELECT a, b, 'c' FROM t WEHERE a = 1 AND b IN (1, 2, 3)" ) # => select a, b, ? from t wehere a = ? and b in(?+) nt-fingerprint公开单个方法fingerprint 。 什么方法确
用户评论