Closed danpaz closed 8 years ago
This looks nice! But IMHO, I'm thinking one point:
index
as part of the builder method. Instead of query = esQueryBuilder({index})
, I think builder.index("index")
would be more generic and flexible. Just like knex.js where
method.
@d6u What do you think of the approach?