Angular firebase , multiple filter query (orderByChild)

this.db.list(‘document’, ref => ref.orderByChild(‘filed1’).equalTo(true).ref.orderByChild(‘filed2’).equalTo(false)).valueChanges().subscribe(result=> {
//process result
});

Manikandan Ramakrishnan
about.me/manikandan.r
sig?u=manikandan.r
Advertisements

Multiple Django 2 Site on Appache 2

apache vhsot site 1

<VirtualHost *:80>
ServerName abc.site.com
WSGIDaemonProcess abcsite python-path=/djangopath1 python-home=/djangopath1/env
WSGIScriptAlias / /djangopath1/master_api/wsgi.py
WSGIProcessGroup abcsite
<Directory /djangopath1/master_api>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
<Directory /djangopath1/>
WSGIProcessGroup abcsite
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
</VirtualHost>

apache vhsot site 2

<VirtualHost *:80>
ServerName xyz.site.com
WSGIDaemonProcess xyzsite python-path=/djangopath2 python-home=/djangopath2/env
WSGIScriptAlias / /djangopath2/master_api/wsgi.py
WSGIProcessGroup xyzsite
<Directory /djangopath2/master_api>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
<Directory /djangopath2/>
WSGIProcessGroup xyzsite
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
</VirtualHost>