Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8886895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:40:15+00:00 2026-06-14T21:40:15+00:00

I am trying to do the following query in Axon but can’t make it

  • 0

I am trying to do the following query in Axon but can’t make it work. Using normal query it works –

SELECT user_name, email_id FROM ors_email_user WHERE email_sent=false LIMIT 5;

In Axon, I try to do the following –

$users = new Axon('ors_email_user');
$users->load(array('email_sent=:email_sent', array(':email_sent' => false)), '', 3);
while(!$users->dry()) {
   echo 'here';
}

It never goes inside the while loop. What is wrong with the query? Is there a way where I can see what query is actually being formed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T21:40:16+00:00Added an answer on June 14, 2026 at 9:40 pm

    I believe the load function only allows 3 parameters to be passed, where the third is the columns that should be ordered.

    You should use the find() or select() function. From the website:

    find( [criteria],[order],[limit],[offset] );
    
    select( fields,[criteria],[grouping],[order],[limit],[offset] );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make the following query work: SELECT DATE_FORMAT( date, '%Y %m' )
I am trying to code the following query using Zend_Db api's: select * from
I'm trying to write the following query in LINQ, but can't seem to get
Trying to replicate the following query using Zend_Db_Select . Any pointers? SELECT compounds.id as
I am trying to run the following query but get an error: select S
I'm trying to collect data using the following query : SELECT * FROM `table1`
I am trying to write following SQL query using JPA Criteria API SELECT *
I am trying to make the following query in ActiveRecord in rails. SELECT *
I'm trying to work out the following query: SELECT did_numbers.did_dialstring, netareas.netarea_name, did_numbers.did_size, CASE WHEN
I am trying to execute following query: Insert into pligg_links_temp select * from pligg_links

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.