velo sql query not showing all results

Hi,
i am using Editor X Collections to store some custom user data. To further use this data i intalled the wix-data-sql package for velo.

The problem i have is, that the queries work kind of strage and sometimes give me different outputs when i run them multible times without changing something.
One problem for example is, that when i run a standard query like this:
export async function getAllUsers () { try { const results = await sql ( ‘SELECT * FROM User’ ); return results . payload . data ;} catch ( error ) { console . error ( error );}}

it will only return the data of 6 fields, which are all the system fields of my collection.

But when i adjust the query like this

export async function getAllUsers () { try { const results = await sql ( ‘SELECT * FROM User Where title=" Example "’ ); return results . payload . data ;} catch ( error ) { console . error ( error );}}

it will return the right 33 colums.

Does anyone know why this occurs or what i am doing wrong?

Thanks in advance!
Jari

Hey Jari,
Could you please share the site URL you are facing this issue with?
We’ll try to assist.
Thx

Hi Jari,

We are looking forward to getting your site URL as the package works well on our environment and we want to see an example of when it does not.

Also please make sure to upgrade to the latest version of the package and see if this fixes the problem.

Thanks,
Asaf