Code Monkey home page Code Monkey logo

database's People

Contributors

0-v-0 avatar shove70 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

0-v-0

database's Issues

future plans for the project

Hi, I currently work on ddbc which supports MySQL (via mysql-native), PostgreSQL (via derelict-pq), SQLite and SQL Server (via etc.c.odbc). I'd be interested to know if this project will eventually support other databases.

I like using sqlite for testing locally and mysql/postgressql for personal projects but absolutely need MS-SQL / Oracle support to be able to use D for any workplace projects.

With etc.c.odbc now being removed in feb 2022, I need to find an alternative and I don't really have the time to overhaul ddbc by that date. Is odbc support something you plan to do?

socket.d Error: variable `core.stdc.errno.EWOULDBLOCK` conflicts with enum

These are initial errors when I tried using your database dub package on the latest dmd compiler.

C:\Users\boqsc\Desktop\database\database_postgresql>dub run
Fetching database 1.1.27 (getting selected version)...
Performing "debug" build using C:\Program Files\LDC 1.28\bin\ldc2.exe for x86_64.
database:postgresql 1.1.27: building configuration "library"...
C:\Users\boqsc\AppData\Local\dub\packages\database-1.1.27\database\postgresql\database\postgresql\socket.d(56,72): Error: variable `core.stdc.errno.EWOULDBLOCK` at C:\Program Files\LDC 1.28\bin\..\import\core\stdc\errno.d(251,10) conflicts with enum member `core.sys.windows.winsock2.EWOULDBLOCK` at C:\Program Files\LDC 1.28\bin\..\import\core\sys\windows\winsock2.d(181,5)
C:\Users\boqsc\AppData\Local\dub\packages\database-1.1.27\database\postgresql\database\postgresql\socket.d(85,72): Error: variable `core.stdc.errno.EWOULDBLOCK` at C:\Program Files\LDC 1.28\bin\..\import\core\stdc\errno.d(251,10) conflicts with enum member `core.sys.windows.winsock2.EWOULDBLOCK` at C:\Program Files\LDC 1.28\bin\..\import\core\sys\windows\winsock2.d(181,5)
C:\Program Files\LDC 1.28\bin\ldc2.exe failed with exit code 1.

This is my setup on Windows operating system:

.\database_project.cmd

@ECHO OFF

IF NOT EXIST ".\database_postgresql\" (
	mkdir ".\database_postgresql\"
	cd ".\database_postgresql\"
	dub init --non-interactive
	dub add database:postgresql
	cmd.exe
)

Non-optional dependency 'database:postgresql' of 'database' not found in dependency tree!?.

C:\Users\boqsc\Desktop\database>dub run
Non-optional dependency 'database:postgresql' of 'database' not found in dependency tree!?.

All I did is made a dub run command after dub add database:postgresql command.

Whole script of setup for Windows operating systems

.\database_project.cmd

@ECHO OFF

IF NOT EXIST ".\database\" (
	mkdir ".\database\"
	cd ".\database\"
	dub init --non-interactive
	dub add database:postgresql
	cmd.exe
)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.