https://github.com/arkenidar/knex-test
[ https://knexjs.org/ ] app with php variant for ease of experimentations
https://github.com/arkenidar/knex-test
js knexjs knexjswithpostgresql mysql node pdo pg php postgres sql
Last synced: 2 months ago
JSON representation
[ https://knexjs.org/ ] app with php variant for ease of experimentations
- Host: GitHub
- URL: https://github.com/arkenidar/knex-test
- Owner: arkenidar
- Created: 2021-04-25T16:39:37.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-09T09:45:55.000Z (about 1 year ago)
- Last Synced: 2025-02-15T12:14:47.394Z (2 months ago)
- Topics: js, knexjs, knexjswithpostgresql, mysql, node, pdo, pg, php, postgres, sql
- Language: JavaScript
- Homepage: https://knexjs.org/
- Size: 33.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MS-VSCode Extensions
- mtxr.sqltools
- mtxr.sqltools-driver-pg# same database for PHP and nodejs
psql -U postgres -d knex-test -f database-dump.sql # restore postgres dump# php version of querying
php pdo.php # pdo test script# IMPORTANT : nodejs version of querying
node index.js # knex.js test scriptNOTE: this is not a complete setup guide, it's a minimalistic list of key points of a personal exploration. learning how to install and setup the database server, the php and nodejs interpreters, etc (other setup requirements for this to work)
# on my Fedora 34 this was needed (self-explanatory)
sudo dnf install php-cli php-pgsql php-json