Skip to content

Instantly share code, notes, and snippets.

View tknzk's full-sized avatar
🎧
Hi

Takumi KANZAKI tknzk

🎧
Hi
View GitHub Profile
DBQuery.prototype.p = function() {
var args = arguments
this.forEach(function(e) {
var result = {}
if(args.length == 0) {
result = e
} else {
for(var i = 0; i < args.length; i++) {
var target = e
var keys = args[i].split('.')