You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 25, 2018. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+36-1
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,9 @@ Play around with our [realtime Todo App demo](https://backbonefire.firebaseapp.c
13
13
## Basic Usage
14
14
Using BackboneFire collections and models is very similar to the regular ones in Backbone. To setup with BackboneFire use `Backbone.Firebase` rather than just `Backbone`.
15
15
16
+
**Note: A `Backbone.Firebase.Model` should not be used with a `Backbone.Firebase.Collection`. Use a regular
17
+
`Backbone.Model` with a `Backbone.Firebase.Collection`.**
18
+
16
19
```javascript
17
20
// This is a plain old Backbone Model
18
21
var Todo =Backbone.Model.extend({
@@ -129,11 +132,29 @@ You may also apply an `orderByChild` or some other
129
132
[query](https://www.firebase.com/docs/web/guide/retrieving-data.html#section-queries) on a
130
133
reference and pass it in:
131
134
135
+
### Queries
136
+
132
137
```javascript
133
138
var TodoList =Backbone.Firebase.Collection.extend({
0 commit comments