mariadb.scm 810 B

1234567891011121314151617181920212223
  1. (define-module (guile mariadb)
  2. #:use-module (guix records)
  3. #:export (mariadb-connection
  4. mariadb-connection?
  5. mariadb-connection-statement
  6. <mariadb-connection>))
  7. (define-record-type* <mariadb-connection>
  8. mariadb-connection make-mariadb-connection
  9. mariadb-connection?
  10. (user mariadb-connection-user ;string
  11. (default #f))
  12. (password mariadb-connection-password ;string
  13. (default #f))
  14. (host mariadb-connection-host ;string
  15. (default #f))
  16. (database mariadb-connection-database ;string
  17. (default #f))
  18. (statement mariadb-connection-statement ;string
  19. (default #f))
  20. (arguments mariadb-connection-arguments ;list of strings
  21. (default '("--skip-column-names"))))