accessing wixData from backend module

Hi,
Sorry that didn’t help. I originally had the .query actually. Now my code on the backend is:

import wixData from ‘wix-data’;

export function ifc_data() {

  console.log('A'); 
  wixData.query("ifc_data").find().then((results) => { stuff } 

}

and on the front end it is:

import {ifc_data} from ‘backend/ifc_data.jsw’;
ifc_data();

So I can see it does print ‘A’, but it doesn’t perform any action inside of the query…