Documentation
¶
Index ¶
Constants ¶
View Source
const ( // InsertBondsTable query to insert a new bond into the table InsertBondsTable = `` /* 873-byte string literal not displayed */ // CheckBondExist query to check if a bond exists on a specific datetime CheckBondExist = `SELECT COUNT(*) FROM bonds WHERE bond_last_update = $1 AND bond_name = $2 AND bond_buy_sell = $3` // ListDistinctBonds query list all bonds names from a specific type ListDistinctBonds = `SELECT DISTINCT bond_name, bond_index, bond_due_date FROM bonds WHERE bond_buy_sell = $1 ORDER BY bond_name, bond_due_date;` // GetBondsByNameType query list all bonds of a specific name and type GetBondsByNameType = `SELECT * FROM bonds WHERE bond_name = $1 AND bond_buy_sell = $2 ORDER BY bond_fetch_datetime DESC, bond_due_date;` )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.