<commit_before>import { pool } from './Connection';

export const getUserAETs = (email, cb) => {
    const getId = 'SELECT id FROM users WHERE email=?';
    pool.query(
        `${getId};
        SELECT id, name FROM accounts WHERE user_id=(${getId});
        SELECT id, name FROM expenses WHERE user_id=(${getId});<commit_msg>#133 Added type_id to light expenses<commit_after>import { pool } from './Connection';

export const getUserAETs = (email, cb) => {
    const getId = 'SELECT id FROM users WHERE email=?';
    pool.query(
        `${getId};
        SELECT id, name FROM accounts WHERE user_id=(${getId});
        SELECT id, name, type_id FROM expenses WHERE user_id=(${getId});
{'fraction_non_alphanumeric': 0.13702623906705538, 'fraction_numerical': 0.004373177842565598, 'mean_word_length': 3.432258064516129, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1599762', 'n_tokens_mistral': 208, 'n_tokens_neox': 208, 'n_words': 71}