Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acf-db
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ACF
acf-db
Commits
65f867ef
Commit
65f867ef
authored
Nov 28, 2014
by
Ted Trask
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump version to 0.1.2
parent
88e2a9a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
Makefile
Makefile
+1
-1
lib/dbmodelfunctions.lua
lib/dbmodelfunctions.lua
+5
-4
No files found.
Makefile
View file @
65f867ef
APP_NAME
=
db
PACKAGE
=
acf-
$(APP_NAME)
VERSION
=
0.1.
1
VERSION
=
0.1.
2
APP_DIST
=
db
*
\
...
...
lib/dbmodelfunctions.lua
View file @
65f867ef
...
...
@@ -104,15 +104,16 @@ function mymodule.list_table_entries(dbase, self, clientdata)
local
tables
=
db
.
listtables
()
retval
.
value
.
table
.
errtxt
=
"Table does not exist"
retval
.
errtxt
=
"Table does not exist"
for
i
,
t
in
ipairs
(
tables
)
do
if
t
==
retval
.
value
.
table
.
value
then
-- for i,t in ipairs(tables) do
-- if t == retval.value.table.value then
local
t
=
retval
.
value
.
table
.
value
retval
.
value
.
table
.
errtxt
=
nil
retval
.
errtxt
=
nil
retval
.
value
.
fields
.
value
=
db
.
listcolumns
(
t
)
or
{}
retval
.
value
.
keyfields
.
value
=
db
.
listkeycolumns
(
t
)
or
{}
retval
.
value
.
entries
.
value
=
db
.
getselectresponse
(
"SELECT * FROM "
..
db
.
escape
(
t
))
or
{}
end
end
--
end
--
end
if
connected
then
db
.
databasedisconnect
()
end
end
)
if
not
res
and
err
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment