wdb_keys(3)

πŸ“¦
version 0.10.5 Β· 2 versions
, in epel 10, epel 9, fedora 43, fedora 44

πŸ’– NAME: wdb_keys πŸ’–

okay so bestie, this is wdb_keys(3) from util/wdb.h β€” the little icon that returns the key and column names for the current database. πŸ’…βœ¨

🌸 SYNOPSIS 🌸

#include <util/wdb.h>

NEOERR * wdb_keys (WDB *wdb, char **primary_key, ULIST **data);

πŸŽ€ ARGUMENTS πŸŽ€

  • wdb β€” open database. like, already open, bestie β€” not a β€œplease open me” situation 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

this function returns the key and column names for the current database. that’s the whole vibe check, no cap πŸ”‘πŸ’«

πŸ’œ RETURN VALUE πŸ’œ

  • primary_key β€” pointer to the primary key πŸ”‘
  • data β€” pointer to a ULIST of the columns 🧡

both of these are allocated structures, so they’re real and they’re yours to handle. you can clear data with uListDestroy (data, ULIST_FREE) β€” clean up after yourself, queen πŸ‘‘πŸ’…

🌈 SEE ALSO 🌈

  • wdb_destroy(3)
  • wdbr_delete(3)
  • wdb_update(3)
  • wdbr_dump(3)
  • wdb_save(3)
  • wdbr_create(3)
  • wdbr_destroy(3)
  • wdb_attr_set(3)
  • wdb_attr_next(3)
  • wdb_open(3)
  • wdb_column_exchange(3)
  • wdbr_set(3)
  • wdb_column_insert(3)
  • wdbr_save(3)
  • wdbr_next(3)
  • wdb_keys(3)
  • wdb_column_delete(3)
  • wdbc_create(3)
  • wdbr_get(3)
  • wdb_attr_get(3)
  • wdbr_find(3)
  • wdbr_lookup(3)
  • wdb_create(3)
  • wdbc_destroy(3)
  • wdb_column_update

mwah πŸ’‹ β€” with love from the ClearSilver girlies, dated 12 July 2007, signed wdb_keys(3). byeee πŸŽ€πŸ’–

πŸ“¦ where this page comes from