Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

TypeError: Cannot read property 'sqlLiteral' of undefined #65

Open
ghost opened this issue May 14, 2013 · 1 comment
Open

TypeError: Cannot read property 'sqlLiteral' of undefined #65

ghost opened this issue May 14, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented May 14, 2013

Hi,

I get an error that bothers me. Here is my code

DB.from('SplashAd')
        .filter(
            'sport={sport} AND country={country} AND language={language} AND platform_id={platform_id} AND debug={debug} AND expiration_timestamp>{now}',
            filter
        )
        .all()
        .then(function (splash_ads) {
            done(null, splash_ads);
        }, function (err) {
            done(err);
        });

I often use this code and it still works, but not here to make it work. When I remove the filter function I get all the data. Using the where function or first still get the same problem.

Any idea ?

@vikeen
Copy link

vikeen commented Jun 19, 2015

@doug-martin. What is this referring to? Can we close it?

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

No branches or pull requests

1 participant