Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.
This repository was archived by the owner on Jan 12, 2019. It is now read-only.

Paginate $key error #100

@douwevdijk

Description

@douwevdijk

HI All,

I am using this line to activate pagination: ( no orderByChild or any query, just a straight URL )

var pageRef = new Firebase.util.Paginate(ref, '$key', {pageSize: 18});

It works, until I move on to the next page and then I am getting the error:

firebase.js:237 Uncaught Error: Query: When ordering by key, you may only pass one argument to startAt(), endAt(), or equalTo().

FYI, I am using Id's generated by Firebase ( push ). Can anyone assist? I am using the latest library and firebase 2.4.2.

Rgds, Douwe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions