CFDBINFO [no matching function] -- when using cfscript


cfdbinfo works in tag notation, but not in cfscript.
Error message: “No matching function [cfdbinfo] found”

Am I missing something?

cfdbinfo(datasource="myDatasource", type="version", name="dbinfo");

<cfdbinfo datasource="myDatasource" type="version" name="dbinfo">

Thanks for your time in advance.

Don’t forget to tell us about your stack!

OS: Windows 10
Java Version: 1.8.0_144 (64bit)
Tomcat Version: 8.5.51
Lucee Version:

@tab Your failed example works for me.
Maybe the previous line missing semicolon at end causes to this

    something // <---- this line missing the semi colon
    cfdbinfo(datasource="myDatasource", type="version", name="dbinfo");

OR Please try another version of the tag-script syntax

   dbinfo datasource = "myDatasource" type = "version" name = "dbinfo";
1 Like

Okay, thank for your quick response. I tried a separate .cfm file. It works fine.

Even if the possible problem you described (missing semicolon) does not exist, it is probably actually a consequential error.