Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crear vistas en feathers-mongoose #392

Closed
noelyriosquantion opened this issue Sep 2, 2020 · 1 comment
Closed

Crear vistas en feathers-mongoose #392

noelyriosquantion opened this issue Sep 2, 2020 · 1 comment

Comments

@noelyriosquantion
Copy link

Expected behavior

Hola, quería saber como puedo crear una vista de bbdd con feathers-mongoose. Mi situación es la siguiente: Necesito crear una vista con 2 colecciones y luego hacer el filtrado de sobre dicha vista.

he probado hacer mongoose.connection.createCollection('loads_views', {viewOn: 'loads', pipeline: []}) en un servicio y me crea la vista en la base de datos, pero quiero saber si esto lo puedo hacer desde feather-mongose con un propio schema, para evitar hacer el find de mongoose y utilizar el del hook de feathers.

@daffl daffl closed this as completed Nov 8, 2020
@daffl
Copy link
Member

daffl commented Nov 8, 2020

Please submit your issues in English (translators have gotten pretty good), we unfortunately have no Spanish speakers here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants