Closed al3xfischer closed 5 years ago
:- use_module(library(cql/cql)). :- use_module(library(cql/cql_autoschema)).
:-initialization(register_database_connection_details(prolog,dsn([dsn], [user],[pw])), now). :-build_schema(prolog).
test(A):- {[],cities :: [name-A]}.
Version: Welcome to SWI-Prolog (threaded, 32 bits, version 8.0.2)
I get the error "Undefined procedure: {}/1". Have I forgotten to use a module or something else?
Lots of thanks in advance.
:- use_module(library(cql/cql)). :- use_module(library(cql/cql_autoschema)).
:-initialization(register_database_connection_details(prolog,dsn([dsn], [user],[pw])), now). :-build_schema(prolog).
test(A):- {[],cities :: [name-A]}.
Version: Welcome to SWI-Prolog (threaded, 32 bits, version 8.0.2)
I get the error "Undefined procedure: {}/1". Have I forgotten to use a module or something else?
Lots of thanks in advance.