SWI-Prolog / packages-cql

High level database interface
7 stars 6 forks source link

Undefined procedure: {}/1 #3

Closed al3xfischer closed 5 years ago

al3xfischer commented 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.