-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported column type GUID #24
Comments
which database are you using? Could be mssql? Use uniqueidentifier rather On Tue, Apr 5, 2016 at 1:38 PM, Dmitry Bubnenkov notifications@github.com
|
PostgreSQL. And I need GUID... |
postgre seems to use uuid as that column type. On Tue, Apr 5, 2016 at 1:52 PM, Dmitry Bubnenkov notifications@github.com
|
Yeah, and is there any solution? I found. I can do
|
On Tue, Apr 5, 2016 at 2:36 PM, Dmitry Bubnenkov notifications@github.com
E.g. |
On Wed, Apr 6, 2016 at 9:58 AM, Dmitry Bubnenkov
You would need to add support for UUID field type. ddbc seems to have for select support a start would be something like: Not tested |
Do you mean something like this:
source\app.d(67,12): Error: None of the overloads of '__ctor' are callable usin |
On Wed, Apr 6, 2016 at 1:11 PM, Dmitry Bubnenkov notifications@github.com
|
Fixed. |
CREATE TABLE "USERS" (
guid uuid,
name text,
"FL" integer,
id bigint NOT NULL
);
INSERT INTO public."USERS"(guid, name, "FL", id)
VALUES ('cd3c7ffd-7919-f6c5-999d-5586d9f3b261', 'vasia', 10, 1);
I need any way to select and insert GUIDs to DB. Is there any way to do it now. Any way? Maybe not best, just to get it work.
The text was updated successfully, but these errors were encountered: